Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It can take some time to output lines #2906

Merged
merged 1 commit into from
Mar 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions test/plugin_helper/test_child_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,11 @@ def configure(conf)
assert_equal [], @d.log.out.logs

@d.stop # nothing occurs
sleep TEST_WAIT_INTERVAL_FOR_LOOP
lines1 = ary.size
assert{ lines1 > 1 }
lines1 = nil
waiting(TEST_WAIT_INTERVAL_FOR_LOOP * 3) do
lines1 = ary.size
lines1 > 1
end

pid = @d._child_process_processes.keys.first
# default value 10 is too long for test
Expand Down