diff options
Diffstat (limited to 'test/thread/test_sync.rb')
-rw-r--r-- | test/thread/test_sync.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/thread/test_sync.rb b/test/thread/test_sync.rb index 8241445faf..e3294ff824 100644 --- a/test/thread/test_sync.rb +++ b/test/thread/test_sync.rb @@ -59,6 +59,7 @@ class SyncTest < Test::Unit::TestCase } sleep 0.1 until t.stop? + sleep 1 if RubyVM::MJIT.enabled? # t.stop? behaves unexpectedly with --jit-wait t.raise t.join |