Skip to content

Commit

Permalink
Prevent waiting forever (fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvanoosten committed Jan 19, 2025
1 parent e7411c2 commit e316dc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ object AsyncProducerTestSupport {
sendOperation.callbackPromise.await,
Seq(ZIO.logInfo(s"Still expecting mock behavior $mb").delay(3.seconds).forever)
)
.timeoutFail(new AssertionError("Timed out waiting for mock behavior $mb"))(1.minute)
.timeoutFail(new AssertionError(s"Timed out waiting for mock behavior $mb"))(1.minute)
} yield ()
case CallbackSucceed(n) =>
for {
Expand Down

0 comments on commit e316dc7

Please sign in to comment.