New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some new throttle related tests #4232

Merged
merged 5 commits into from Oct 10, 2017

Conversation

Projects
None yet
1 participant
@pabender
Member

pabender commented Oct 10, 2017

No description provided.

@pabender

This comment has been minimized.

Member

pabender commented Oct 10, 2017

Restarted headless Travis after

[INFO] Running jmri.jmrix.dccpp.dccppovertcp.configurexml.ConnectionConfigXmlTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in jmri.jmrix.dccpp.dccppovertcp.configurexml.ConnectionConfigXmlTest
[INFO] Running jmri.jmrix.dccpp.dccppovertcp.ServerActionTest
ERROR - Proceeding to initialize class jmri.jmrix.dccpp.dccppovertcp.Server while already in initialization [main] jmri.InstanceManager.?()
java.lang.Exception: Thread "main"
at jmri.InstanceManager.getNullableDefault(InstanceManager.java:233)
at jmri.InstanceManager.getDefault(InstanceManager.java:188)
at jmri.jmrix.dccpp.dccppovertcp.ServerAction.(ServerAction.java:20)
at jmri.jmrix.dccpp.dccppovertcp.ServerAction.(ServerAction.java:24)
at jmri.jmrix.dccpp.dccppovertcp.ServerActionTest.ConstructorTest(ServerActionTest.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
ERROR - Prior initialization: [main] jmri.InstanceManager.?()
java.lang.Exception: Thread ClientRxHandler:127.0.0.1
at jmri.InstanceManager.setInitializationState(InstanceManager.java:896)
at jmri.InstanceManager.getNullableDefault(InstanceManager.java:231)
at jmri.InstanceManager.getDefault(InstanceManager.java:188)
at jmri.jmrix.dccpp.dccppovertcp.ClientRxHandler.run(ClientRxHandler.java:142)
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.029 s <<< FAILURE! - in jmri.jmrix.dccpp.dccppovertcp.ServerActionTest
[ERROR] ConstructorTest(jmri.jmrix.dccpp.dccppovertcp.ServerActionTest) Time elapsed: 0.029 s <<< FAILURE!
java.lang.AssertionError: Unexpected ERROR or FATAL messages emitted
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertFalse(Assert.java:64)
at apps.tests.Log4JFixture.tearDown(Log4JFixture.java:38)
at jmri.util.JUnitUtil.tearDown(JUnitUtil.java:118)
at jmri.jmrix.dccpp.dccppovertcp.ServerActionTest.tearDown(ServerActionTest.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)

@pabender pabender merged commit 22aaded into JMRI:master Oct 10, 2017

4 checks passed

VersionEye All software dependencies are fine. You are awesome!
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.2%) to 38.253%
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment