ruby-changes:54315
From: k0kubun <ko1@a...>
Date: Mon, 24 Dec 2018 12:50:44 +0900 (JST)
Subject: [ruby-changes:54315] k0kubun:r66524 (trunk): test_win32ole_event.rb: use better retry strategy
k0kubun 2018-12-24 12:50:39 +0900 (Mon, 24 Dec 2018) New Revision: 66524 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66524 Log: test_win32ole_event.rb: use better retry strategy because https://ci.appveyor.com/project/ruby/ruby/builds/21208728/job/lm5k0lxnn51pcljl seems to fail with just sleeping Modified files: trunk/test/win32ole/test_win32ole_event.rb Index: test/win32ole/test_win32ole_event.rb =================================================================== --- test/win32ole/test_win32ole_event.rb (revision 66523) +++ test/win32ole/test_win32ole_event.rb (revision 66524) @@ -137,9 +137,8 @@ if defined?(WIN32OLE_EVENT) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole_event.rb#L137 ev.on_event(:OnObjectReady) {|*args| handler1 } - message_loop - # @event1 randomly becomes "" here: https://ci.appveyor.com/project/ruby/ruby/builds/20975541/job/b380m0q9ed0rdv7v - assert_match_with_retries(/\Ahandler1\z/, :@event1) + message_loop(:@event1) + assert_equal("handler1", @event1) end private -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/