org.scalatest.exceptions.TestFailedException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • FAILED: AdaptiveLoadBalancingRouter
    via GitHub by 2m
    ,
  • {noformat} [info] - should not leak threads *** FAILED *** (4 seconds, 448 milliseconds) [info] 504 was not less than 316 (CassandraRDDSpec.scala:456) [info] org.scalatest.exceptions.TestFailedException: [info] at org.scalatest.MatchersHelper$.newTestFailedException(MatchersHelper.scala:160) [info] at org.scalatest.Matchers$ShouldMethodHelper$.shouldMatcher(Matchers.scala:6231) [info] at org.scalatest.Matchers$AnyShouldWrapper.should(Matchers.scala:6265) [info] at com.datastax.spark.connector.rdd.CassandraRDDSpec$$anonfun$43.apply$mcV$sp(CassandraRDDSpec.scala:456) [info] at com.datastax.spark.connector.rdd.CassandraRDDSpec$$anonfun$43.apply(CassandraRDDSpec.scala:438) [info] at com.datastax.spark.connector.rdd.CassandraRDDSpec$$anonfun$43.apply(CassandraRDDSpec.scala:438) [info] at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22) [info] at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85) [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.FlatSpecLike$$anon$1.apply(FlatSpecLike.scala:1647) [info] at org.scalatest.Suite$class.withFixture(Suite.scala:1122) [info] at org.scalatest.FlatSpec.withFixture(FlatSpec.scala:1683) [info] at org.scalatest.FlatSpecLike$class.invokeWithFixture$1(FlatSpecLike.scala:1644) [info] at org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1656) [info] at org.scalatest.FlatSpecLike$$anonfun$runTest$1.apply(FlatSpecLike.scala:1656) [info] at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306) [info] at org.scalatest.FlatSpecLike$class.runTest(FlatSpecLike.scala:1656) [info] at org.scalatest.FlatSpec.runTest(FlatSpec.scala:1683) [info] at org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1714) [info] at org.scalatest.FlatSpecLike$$anonfun$runTests$1.apply(FlatSpecLike.scala:1714) [info] at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:413) [info] at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401) [info] at scala.collection.immutable.List.foreach(List.scala:318) [info] at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401) [info] at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:390) [info] at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:427) [info] at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401) [info] at scala.collection.immutable.List.foreach(List.scala:318) [info] at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401) [info] at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:396) [info] at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:483) [info] at org.scalatest.FlatSpecLike$class.runTests(FlatSpecLike.scala:1714) [info] at org.scalatest.FlatSpec.runTests(FlatSpec.scala:1683) [info] at org.scalatest.Suite$class.run(Suite.scala:1424) [info] at org.scalatest.FlatSpec.org$scalatest$FlatSpecLike$$super$run(FlatSpec.scala:1683) [info] at org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1760) [info] at org.scalatest.FlatSpecLike$$anonfun$run$1.apply(FlatSpecLike.scala:1760) [info] at org.scalatest.SuperEngine.runImpl(Engine.scala:545) [info] at org.scalatest.FlatSpecLike$class.run(FlatSpecLike.scala:1760) [info] at com.datastax.spark.connector.rdd.CassandraRDDSpec.org$scalatest$BeforeAndAfterAll$$super$run(CassandraRDDSpec.scala:48) [info] at org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:257) [info] at org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:256) [info] at com.datastax.spark.connector.rdd.CassandraRDDSpec.run(CassandraRDDSpec.scala:48) [info] at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:466) [info] at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:677) [info] at sbt.ForkMain$Run$2.call(ForkMain.java:294) [info] at sbt.ForkMain$Run$2.call(ForkMain.java:284) [info] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [info] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [info] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [info] at java.lang.Thread.run(Thread.java:745) {noformat}
    via by Jacek Lewandowski,
  • Unit tests are broken
    via GitHub by gkleiman
    ,
  • failed: CompressionIntegrationSpec
    via GitHub by patriknw
    ,
  • FAILED: CircuitBreakerSpec
    via GitHub by drewhk
    ,
  • GitHub comment 21810#259940040
    via GitHub by johanandren
    ,
    • org.scalatest.exceptions.TestFailedException at org.scalatest.MatchersHelper$.newTestFailedException(MatchersHelper.scala:160) at org.scalatest.Matchers$AnyShouldWrapper.should(Matchers.scala:6356) at akka.cluster.metrics.AdaptiveLoadBalancingRouterSpec$$anonfun$1$$anonfun$apply$mcV$sp$5$$anonfun$apply$mcV$sp$7.apply$mcV$sp(ClusterMetricsRoutingSpec.scala:216) at akka.remote.testkit.MultiNodeSpec.runOn(MultiNodeSpec.scala:335) at akka.cluster.metrics.AdaptiveLoadBalancingRouterSpec$$anonfun$1$$anonfun$apply$mcV$sp$5.apply$mcV$sp(ClusterMetricsRoutingSpec.scala:202) at akka.cluster.metrics.AdaptiveLoadBalancingRouterSpec$$anonfun$1$$anonfun$apply$mcV$sp$5.apply(ClusterMetricsRoutingSpec.scala:190) at akka.cluster.metrics.AdaptiveLoadBalancingRouterSpec$$anonfun$1$$anonfun$apply$mcV$sp$5.apply(ClusterMetricsRoutingSpec.scala:190) at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22) at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85) at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)

    Users with the same issue

    Handemelindo
    33 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown User
    2 times, last one,
    77 more bugmates