java.lang.AssertionError: expected:<Set(3)> but was:<Set()>, took 0.054 sec

GitHub | rbellamy | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MySQL testDiscriminatorTest fails

    GitHub | 6 months ago | rbellamy
    java.lang.AssertionError: expected:<Set(3)> but was:<Set()>, took 0.054 sec

    Root Cause Analysis

    1. java.lang.AssertionError

      expected:<Set(3)> but was:<Set()>, took 0.054 sec

      at com.typesafe.slick.testkit.tests.JoinTest$$anonfun$testDiscriminatorCheck$2.apply()
    2. Slick TestKit
      JoinTest$$anonfun$testDiscriminatorCheck$2.apply
      1. com.typesafe.slick.testkit.tests.JoinTest$$anonfun$testDiscriminatorCheck$2.apply(JoinTest.scala:347)
      2. com.typesafe.slick.testkit.tests.JoinTest$$anonfun$testDiscriminatorCheck$2.apply(JoinTest.scala:347)
      2 frames
    3. slick.dbio
      DBIOAction$$anonfun$map$1.apply
      1. slick.dbio.DBIOAction$$anonfun$map$1.apply(DBIOAction.scala:44)
      2. slick.dbio.DBIOAction$$anonfun$map$1.apply(DBIOAction.scala:44)
      2 frames
    4. slick.basic
      BasicBackend$DatabaseDef$$anonfun$runInContext$1.apply
      1. slick.basic.BasicBackend$DatabaseDef$$anonfun$runInContext$1.apply(BasicBackend.scala:149)
      2. slick.basic.BasicBackend$DatabaseDef$$anonfun$runInContext$1.apply(BasicBackend.scala:149)
      2 frames
    5. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:253)
      2. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)
      3. scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
      4. scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)
      5. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      6. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      7. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      8. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      8 frames