on 2014 Jul 15 12:04 PM
I am trying to run unit tests with ant unittests when server is not running --> everything is OK. But when I try to run unit tests when hybris server is running I get: [yunitint] Caused by: org.springframework.beans.FatalBeanException: Context hybris Global Context Factory couldn't be created correctly due to, Error creating bean with name 'defaultRmiRegistryService' defined in class path resource [mediaconversion-global-context.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Failed to create Registry at port '2198'.
So my question is whether it is possible to run unittests without shutting down hybris server?
We've created localjunit.properties from local.properties, but append
os.rmiregistry.port=2199
then use additional "-Duseconfig=junit" VM argument for running ant junittests
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.