Skip to content

Commit 351b476

Browse files
committed
Improved timeout in LiveTest.PoisonedMessageHandler
1 parent 02f787c commit 351b476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/scala/com/avast/clients/rabbitmq/LiveTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ class LiveTest extends FunSuite with Eventually with ScalaFutures with StrictLog
345345
sender.send("test", Bytes.copyFromUtf8(Random.nextString(10))).runAsync.futureValue
346346
}
347347

348-
eventually {
348+
eventually(timeout = timeout(Span(5, Seconds))) {
349349
assertResult(20)(processed.get())
350350
assertResult(0)(testHelper.getMessagesCount(queueName))
351351
assertResult(10)(poisoned.get())

0 commit comments

Comments
 (0)