ruby-changes:59439
From: Nobuyoshi <ko1@a...>
Date: Tue, 24 Dec 2019 15:13:09 +0900 (JST)
Subject: [ruby-changes:59439] e57d619421 (master): Scale sleeping times
https://git.ruby-lang.org/ruby.git/commit/?id=e57d619421 From e57d6194218efc73c30f3fed9dd321d2e357030b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 24 Dec 2019 14:56:17 +0900 Subject: Scale sleeping times diff --git a/test/io/wait/test_io_wait.rb b/test/io/wait/test_io_wait.rb index 50c0697..2d35fbb 100644 --- a/test/io/wait/test_io_wait.rb +++ b/test/io/wait/test_io_wait.rb @@ -164,4 +164,8 @@ private https://github.com/ruby/ruby/blob/trunk/test/io/wait/test_io_wait.rb#L164 return written end while true end + + def sleep(time) + super EnvUtil.apply_timeout_scale(time) + end end if IO.method_defined?(:wait) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/