diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-06 00:43:46 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-06 00:48:00 +0900 |
commit | e80f407ed4eafad4c544d7b2de507a0f4386f0a7 (patch) | |
tree | 1dc8b477c022b88e35b4fc9e8fdceb92d37c8470 /test/ruby | |
parent | 48d460d9a6d326f4084dec0fd5d90b1cc4331e78 (diff) | |
download | ruby-e80f407ed4eafad4c544d7b2de507a0f4386f0a7.tar.gz |
Give up stabilizing TestProcess on Travis osx
They have been too unstable.
Revert "Extend sleep before sending USR1 in TestProcess"
This reverts commit aaf69a8ba866193863a7eafe5c6044844bd71bc3.
Revert "Extend sleep before sending USR1 in TestProcess"
This reverts commit 076f3fcf11a061394d3d5f8c671512df1e983023.
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_process.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 1d20c11ecc..83c9c6a867 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -665,7 +665,7 @@ class TestProcess < Test::Unit::TestCase end EOS assert_equal("start\n", io.gets) - sleep 3 + sleep 0.5 Process.kill(:USR1, io.pid) assert_equal("ok\n", io.read) } @@ -686,7 +686,7 @@ class TestProcess < Test::Unit::TestCase system("cat", :in => "fifo") EOS assert_equal("start\n", io.gets) - sleep 3 # wait for the child to stop at opening "fifo" + sleep 0.2 # wait for the child to stop at opening "fifo" Process.kill(:USR1, io.pid) assert_equal("trap\n", io.readpartial(8)) File.write("fifo", "ok\n") |