diff --git a/test/-ext-/gvl/test_last_thread.rb b/test/-ext-/gvl/test_last_thread.rb index 3b297a5b31..7f75c0ef9c 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'