summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/-ext-/gvl/test_last_thread.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/-ext-/gvl/test_last_thread.rb b/test/-ext-/gvl/test_last_thread.rb
index 3b297a5b311..7f75c0ef9c9 100644
--- a/test/-ext-/gvl/test_last_thread.rb
+++ b/test/-ext-/gvl/test_last_thread.rb
@@ -3,6 +3,9 @@ class TestLastThread < Test::Unit::TestCase
# [Bug #11237]
def test_last_thread
+ if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
+ skip 'spurious wakeup unavoidable with MJIT'
+ end
assert_separately([], <<-"end;") #do
require '-test-/gvl/call_without_gvl'