[ 
https://jira.nuxeo.org/browse/NXP-4926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=71857#action_71857
 ] 

Mariana Cedica commented on NXP-4926:
-------------------------------------

Fixed with : http://hg.nuxeo.org/nuxeo/nuxeo-runtime/rev/78a72d82a324

> org.nuxeo.common.Environment object  is not reset between test calls in a 
> test suite
> ------------------------------------------------------------------------------------
>
>                 Key: NXP-4926
>                 URL: https://jira.nuxeo.org/browse/NXP-4926
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>    Affects Versions: 5.3.1
>            Reporter: Mariana Cedica
>            Assignee: Mariana Cedica
>             Fix For: 5.3.2
>
>
> When running a suite with 2 Jetty Tests the following exception is thrown in 
> the second test :
> 08:56:54,803 WARN  [Log4JLogger] Failed startup of context 
> org.mortbay.jetty.webapp.webappcont...@16be7ee{/,/tmp/NXOSGITestFramework30918163021675106441278a06069b-31822120.1//web/root.war}
> java.io.FileNotFoundException: 
> /tmp/NXOSGITestFramework30918163021675106441278a06069b-31822120.1//web/root.war
>       at 
> org.mortbay.jetty.webapp.WebAppContext.resolveWebApp(WebAppContext.java:946)
>       at 
> org.mortbay.jetty.webapp.WebAppContext.getWebInf(WebAppContext.java:780)
>       at 
> org.mortbay.jetty.webapp.WebInfConfiguration.configureClassLoader(WebInfConfiguration.java:62)
>       at 
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:445)
>       at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>       at 
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>       at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>       at 
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
>       at org.mortbay.jetty.Server.doStart(Server.java:222)
>       at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>       at 
> org.nuxeo.runtime.jetty.JettyComponent.frameworkEvent(JettyComponent.java:238)
>       at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:203)
>       at 
> org.nuxeo.runtime.test.NXRuntimeTestCase.fireFrameworkStarted(NXRuntimeTestCase.java:147)
>       at 
> org.nuxeo.runtime.test.runner.RuntimeFeature.deployTestClassBundles(RuntimeFeature.java:132)
>       at 
> org.nuxeo.runtime.test.runner.RuntimeFeature.start(RuntimeFeature.java:147)
>       at 
> org.nuxeo.runtime.test.runner.FeaturesRunner.start(FeaturesRunner.java:167)
>       at 
> org.nuxeo.runtime.test.runner.FeaturesRunner.run(FeaturesRunner.java:211)
>       at 
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
>       at 
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>       at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
>       at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
>       at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
>       at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to