Commit 0a1eae69 authored by Boris Bügling's avatar Boris Bügling

[Executable] Increase sleep time.

parent 065676b1
......@@ -87,7 +87,7 @@ module Pod
o.flush
e.flush
sleep(0.01)
sleep(0.1)
status
end
......
......@@ -22,10 +22,10 @@ module Pod
it "doesn't hang when the spawned process forks a zombie process with the same STDOUT and STDERR" do
cmd = ['-e', <<-RB]
Process.fork { Process.daemon(nil, true); sleep(2) }
Process.fork { Process.daemon(nil, true); sleep(4) }
puts 'out'
RB
Timeout.timeout(1) do
Timeout.timeout(2) do
Executable.execute_command('ruby', cmd, true).should == "out\n"
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment