Skip to content

Instantly share code, notes, and snippets.

@BlackTurtle123
Created June 6, 2018 11:08
Show Gist options
  • Save BlackTurtle123/0ef4d33b2007c4c4d28a3c1ba82c3236 to your computer and use it in GitHub Desktop.
Save BlackTurtle123/0ef4d33b2007c4c4d28a3c1ba82c3236 to your computer and use it in GitHub Desktop.
ClientSpec test issue
[info] ClientSpec:
2018-06-06 13:04:01,066 TRACE [ning-ClientSpec] c.w.n.HandshakeTimeoutHandler - [embedded embedded] Scheduling handshake timeout, timeout = 1 minute
2018-06-06 13:04:01,071 TRACE [time-impl-497] scorex.utils.TimeImpl - Adjusting time with 0 milliseconds.
[info] - should send only a local handshake on connection (23 milliseconds)
2018-06-06 13:04:01,090 TRACE [ning-ClientSpec] c.w.n.HandshakeTimeoutHandler - [embedded embedded] Scheduling handshake timeout, timeout = 1 minute
[info] - should add a server's channel to all channels after the handshake only *** FAILED *** (49 milliseconds)
[info] false was not equal to true (ClientSpec.scala:53)
[info] org.scalatest.exceptions.TestFailedException:
[info] at org.scalatest.MatchersHelper$.indicateFailure(MatchersHelper.scala:340)
[info] at org.scalatest.Matchers$AnyShouldWrapper.shouldBe(Matchers.scala:6864)
[info] at com.wavesplatform.network.ClientSpec.$anonfun$new$2(ClientSpec.scala:53)
[info] at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
[info] at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
[info] at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
[info] at org.scalatest.Transformer.apply(Transformer.scala:22)
[info] at org.scalatest.Transformer.apply(Transformer.scala:20)
[info] at org.scalatest.FreeSpecLike$$anon$1.apply(FreeSpecLike.scala:407)
[info] at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
[info] at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
[info] at com.wavesplatform.network.ClientSpec.org$scalamock$scalatest$AbstractMockFactory$$super$withFixture(ClientSpec.scala:16)
[info] at org.scalamock.scalatest.AbstractMockFactory.$anonfun$withFixture$1(AbstractMockFactory.scala:35)
[info] at org.scalamock.MockFactoryBase.withExpectations(MockFactoryBase.scala:55)
[info] at org.scalamock.MockFactoryBase.withExpectations$(MockFactoryBase.scala:47)
[info] at com.wavesplatform.network.ClientSpec.withExpectations(ClientSpec.scala:16)
[info] at org.scalamock.scalatest.AbstractMockFactory.withFixture(AbstractMockFactory.scala:34)
[info] at org.scalamock.scalatest.AbstractMockFactory.withFixture$(AbstractMockFactory.scala:31)
[info] at com.wavesplatform.network.ClientSpec.withFixture(ClientSpec.scala:16)
[info] at org.scalatest.FreeSpecLike.invokeWithFixture$1(FreeSpecLike.scala:405)
[info] at org.scalatest.FreeSpecLike.$anonfun$runTest$1(FreeSpecLike.scala:417)
[info] at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
[info] at org.scalatest.FreeSpecLike.runTest(FreeSpecLike.scala:417)
[info] at org.scalatest.FreeSpecLike.runTest$(FreeSpecLike.scala:399)
[info] at org.scalatest.FreeSpec.runTest(FreeSpec.scala:1739)
[info] at org.scalatest.FreeSpecLike.$anonfun$runTests$1(FreeSpecLike.scala:476)
[info] at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:396)
[info] at scala.collection.immutable.List.foreach(List.scala:389)
[info] at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
[info] at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:379)
[info] at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
[info] at org.scalatest.FreeSpecLike.runTests(FreeSpecLike.scala:476)
[info] at org.scalatest.FreeSpecLike.runTests$(FreeSpecLike.scala:475)
[info] at org.scalatest.FreeSpec.runTests(FreeSpec.scala:1739)
[info] at org.scalatest.Suite.run(Suite.scala:1147)
[info] at org.scalatest.Suite.run$(Suite.scala:1129)
[info] at org.scalatest.FreeSpec.org$scalatest$FreeSpecLike$$super$run(FreeSpec.scala:1739)
[info] at org.scalatest.FreeSpecLike.$anonfun$run$1(FreeSpecLike.scala:520)
[info] at org.scalatest.SuperEngine.runImpl(Engine.scala:521)
[info] at org.scalatest.FreeSpecLike.run(FreeSpecLike.scala:520)
[info] at org.scalatest.FreeSpecLike.run$(FreeSpecLike.scala:519)
[info] at com.wavesplatform.network.ClientSpec.org$scalatest$BeforeAndAfterAll$$super$run(ClientSpec.scala:16)
[info] at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:213)
[info] at org.scalatest.BeforeAndAfterAll.run(BeforeAndAfterAll.scala:210)
[info] at org.scalatest.BeforeAndAfterAll.run$(BeforeAndAfterAll.scala:208)
[info] at com.wavesplatform.network.ClientSpec.run(ClientSpec.scala:16)
[info] at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:314)
[info] at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:507)
[info] at sbt.TestRunner.runTest$1(TestFramework.scala:106)
[info] at sbt.TestRunner.run(TestFramework.scala:117)
[info] at sbt.TestFramework$$anon$2$$anonfun$$lessinit$greater$1.$anonfun$apply$1(TestFramework.scala:262)
[info] at sbt.TestFramework$.sbt$TestFramework$$withContextLoader(TestFramework.scala:233)
[info] at sbt.TestFramework$$anon$2$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:262)
[info] at sbt.TestFramework$$anon$2$$anonfun$$lessinit$greater$1.apply(TestFramework.scala:262)
[info] at sbt.TestFunction.apply(TestFramework.scala:271)
[info] at sbt.Tests$.processRunnable$1(Tests.scala:307)
[info] at sbt.Tests$.$anonfun$makeSerial$1(Tests.scala:313)
[info] at sbt.std.Transform$$anon$3.$anonfun$apply$2(System.scala:46)
[info] at sbt.std.Transform$$anon$4.work(System.scala:66)
[info] at sbt.Execute.$anonfun$submit$2(Execute.scala:262)
[info] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[info] at sbt.Execute.work(Execute.scala:271)
[info] at sbt.Execute.$anonfun$submit$1(Execute.scala:262)
[info] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:174)
[info] at sbt.CompletionService$$anon$2.call(CompletionService.scala:36)
[info] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[info] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[info] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[info] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[info] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[info] at java.lang.Thread.run(Thread.java:748)
2018-06-06 13:04:01,263 INFO [pool-6-thread-2] scorex.utils.TimeImpl - Shutting down Time
2018-06-06 13:04:01,353 TRACE [time-impl-498] scorex.utils.TimeImpl - Adjusting time with -1 milliseconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment