Skip to content

Commit 5ab969b

Browse files
committed
Wait for processes to get started in Puma plugin test setup
1 parent 6491156 commit 5ab969b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration/puma/plugin_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ class PumaPluginTest < ActiveSupport::TestCase
1717
@pid = fork do
1818
exec(*cmd)
1919
end
20+
21+
wait_for_registered_processes(4, timeout: 3.second)
2022
end
2123

2224
teardown do

0 commit comments

Comments
 (0)