Skip to content

Instantly share code, notes, and snippets.

@djspiewak
Created December 9, 2023 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djspiewak/17229abb0dae2dc4a995f2931d849997 to your computer and use it in GitHub Desktop.
Save djspiewak/17229abb0dae2dc4a995f2931d849997 to your computer and use it in GitHub Desktop.
[info] DispatcherSpec
[info] sequential dispatcher should
[info] await = true
[info] + reject new tasks while shutting down
[info] await = false
[info] + reject new tasks while shutting down
[info] parallel dispatcher should
[info] await = true
[info] + reject new tasks while shutting down
[info] await = false
[info] + reject new tasks while shutting down
[info] Total for specification DispatcherSpec
[info] Finished in 479 ms
[info] 4 examples, 6 expectations, 0 failure, 0 error
[info] Passed: Total 4, Failed 0, Errors 0, Passed 4
[success] Total time: 1 s, completed Dec 9, 2023, 1:12:31 PM
[info] 12. Monitoring source files for testsJVM/testOnly *.DispatcherSpec -- ex "reject new tasks while shutting down"...
[info] Press <enter> to interrupt or '?' for more options.
[info] Build triggered by /Users/daniel/Development/Scala/cats-effect/series-3.5.x/tests/shared/src/test/scala/cats/effect/std/DispatcherSpec.scala. Running 'testOnly *.DispatcherSpec -- ex "reject new tasks while shutting down"'.
[info] compiling 1 Scala source to /Users/daniel/Development/Scala/cats-effect/series-3.5.x/tests/jvm/target/scala-2.13/test-classes ...
[info] DispatcherSpec
[info] sequential dispatcher should
[info] await = true
[error] ! reject new tasks while shutting down
[error] cats.effect.TestTimeoutException: null (Runners.scala:109)
[error] cats.effect.Runners.$anonfun$timeout$1(Runners.scala:109)
[error] cats.effect.unsafe.WorkStealingThreadPool.$anonfun$sleep$1(WorkStealingThreadPool.scala:662)
[error] cats.effect.unsafe.WorkStealingThreadPool.$anonfun$sleep$1$adapted(WorkStealingThreadPool.scala:662)
[error] cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:723)
[info] await = false
[error] ! reject new tasks while shutting down
[error] cats.effect.TestTimeoutException: null (Runners.scala:109)
[error] cats.effect.Runners.$anonfun$timeout$1(Runners.scala:109)
[error] cats.effect.unsafe.WorkStealingThreadPool.$anonfun$sleep$1(WorkStealingThreadPool.scala:662)
[error] cats.effect.unsafe.WorkStealingThreadPool.$anonfun$sleep$1$adapted(WorkStealingThreadPool.scala:662)
[error] cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:723)
[info] parallel dispatcher should
[info] await = true
[info] + reject new tasks while shutting down
[info] await = false
[error] ! reject new tasks while shutting down
[error] cats.effect.TestTimeoutException: null (Runners.scala:109)
[error] cats.effect.Runners.$anonfun$timeout$1(Runners.scala:109)
[error] cats.effect.unsafe.WorkStealingThreadPool.$anonfun$sleep$1(WorkStealingThreadPool.scala:662)
[error] cats.effect.unsafe.WorkStealingThreadPool.$anonfun$sleep$1$adapted(WorkStealingThreadPool.scala:662)
[error] cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:723)
[info] Total for specification DispatcherSpec
[info] Finished in 30 seconds, 322 ms
[info] 4 examples, 6 expectations, 0 failure, 3 errors
[error] Error: Total 4, Failed 0, Errors 3, Passed 1
[error] Error during tests:
[error] cats.effect.std.DispatcherSpec
[error] (Test / testOnly) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 32 s, completed Dec 9, 2023, 1:13:31 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment