Skip to content

Commit

Permalink
Scale sleeping times to wait for the OS operations
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 24, 2019
1 parent 7758849 commit a3c5dbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/io/wait/test_io_wait.rb
Expand Up @@ -172,4 +172,8 @@ def fill_pipe
return written
end while true
end

def sleep(time)
super EnvUtil.apply_timeout_scale(time)
end
end if IO.method_defined?(:wait)

0 comments on commit a3c5dbf

Please sign in to comment.