ruby-changes:54157
From: k0kubun <ko1@a...>
Date: Thu, 13 Dec 2018 14:59:19 +0900 (JST)
Subject: [ruby-changes:54157] k0kubun:r66378 (trunk): test_win32ole_event.rb: retry random failure
k0kubun 2018-12-13 14:59:14 +0900 (Thu, 13 Dec 2018) New Revision: 66378 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66378 Log: test_win32ole_event.rb: retry random failure Modified files: trunk/test/win32ole/test_win32ole_event.rb Index: test/win32ole/test_win32ole_event.rb =================================================================== --- test/win32ole/test_win32ole_event.rb (revision 66377) +++ test/win32ole/test_win32ole_event.rb (revision 66378) @@ -138,7 +138,8 @@ if defined?(WIN32OLE_EVENT) https://github.com/ruby/ruby/blob/trunk/test/win32ole/test_win32ole_event.rb#L138 handler1 } message_loop - assert_equal("handler1", @event1) + # @event1 randomly becomes "" here: https://ci.appveyor.com/project/ruby/ruby/builds/20975541/job/b380m0q9ed0rdv7v + assert_match_with_retries(/\Ahandler1\z/, :@event1) end private -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/