diff --git a/server/libs/message-bus/src/test/scala/com/prisma/messagebus/pubsub/inmemory/PubSubRouterAltSpec.scala b/server/libs/message-bus/src/test/scala/com/prisma/messagebus/pubsub/inmemory/PubSubRouterAltSpec.scala index bfc5f5f04d..fa947a7af4 100644 --- a/server/libs/message-bus/src/test/scala/com/prisma/messagebus/pubsub/inmemory/PubSubRouterAltSpec.scala +++ b/server/libs/message-bus/src/test/scala/com/prisma/messagebus/pubsub/inmemory/PubSubRouterAltSpec.scala @@ -61,7 +61,7 @@ class PubSubRouterAltSpec router.router.routees.length shouldEqual 1 system.stop(probe.ref) - Thread.sleep(50) + Thread.sleep(500) router.router.routees.length shouldEqual 0 } }