From 22ba7d2bda365f53cb9750411476cbfafc038699 Mon Sep 17 00:00:00 2001 From: Ben Langfeld Date: Thu, 8 Nov 2018 16:58:25 -0200 Subject: [PATCH] It can take time for a subscription to catch up after a storage reset --- spec/lib/message_bus/backend_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/message_bus/backend_spec.rb b/spec/lib/message_bus/backend_spec.rb index 7edd0275..5fc5aa32 100644 --- a/spec/lib/message_bus/backend_spec.rb +++ b/spec/lib/message_bus/backend_spec.rb @@ -303,7 +303,7 @@ def new_test_bus @bus.publish("/foo", "three") - wait_for(100) do + wait_for(2000) do got.length == 2 end