diff --git a/features/fixtures/que/app/setup-que.rb b/features/fixtures/que/app/setup-que.rb index 1fc5724b..1e79248b 100644 --- a/features/fixtures/que/app/setup-que.rb +++ b/features/fixtures/que/app/setup-que.rb @@ -20,6 +20,7 @@ begin Timeout::timeout(5) { TCPSocket.new('postgres', 5432).close } + sleep 1 postgres_ready = true rescue Exception attempts += 1