summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-13 05:59:14 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-13 05:59:14 +0000
commit23ffadad69ac72138afb828caf03082af17059c3 (patch)
treec38ae616af6d7fae90529a3f800abd7e8b8a7082 /test
parent21d99677f6351d632d413198f0df7c9558de7e2f (diff)
test_win32ole_event.rb: retry random failure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/win32ole/test_win32ole_event.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/win32ole/test_win32ole_event.rb b/test/win32ole/test_win32ole_event.rb
index a1546da4a28..35671a3649d 100644
--- a/test/win32ole/test_win32ole_event.rb
+++ b/test/win32ole/test_win32ole_event.rb
@@ -138,7 +138,8 @@ if defined?(WIN32OLE_EVENT)
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