[ruby-cvs:70799] normal:r63708 (trunk): test/ruby/test_io.rb: fix timing sensitive test

normal at ruby-lang.org normal at ruby-lang.org
Thu Jun 21 08:38:16 JST 2018


normal	2018-06-21 08:38:16 +0900 (Thu, 21 Jun 2018)

  New Revision: 63708

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63708

  Log:
    test/ruby/test_io.rb: fix timing sensitive test
    
    For systems with sleepy timer thread disabled, the signal
    handler does not fire soon enough and we need to ensure the
    signal is received before we check its value.  So use a
    self-pipe here.

  Modified files:
    trunk/test/ruby/test_io.rb


More information about the ruby-cvs mailing list