Skip to content

Commit

Permalink
Update CRuby Thread test excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Mar 30, 2020
1 parent 3759998 commit b0862e6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test/mri/excludes/TestThread.rb
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
# frozen_string_literal: false
exclude(/_stack_size$/, 'often too expensive')
exclude :test_abort_on_exception, "very sensitive to thread timing and parallelism"
exclude :test_inspect_with_fiber, "Thread.current is known to reflect the fiber, not the thread, in JRuby"
exclude :test_handle_interrupt, "handle_interrupt is not working properly #5314"
exclude :test_handle_interrupt_and_p, "handle_interrupt is not working properly #5314"
exclude :test_handle_interrupt_blocking, "handle_interrupt is not working properly #5314"
exclude :test_inspect_with_fiber, "Thread.current is known to reflect the fiber, not the thread, in JRuby"
exclude :test_join_limit_negative_INT64_MIN, "times out"
exclude :test_list, "JVM finalizer threads get adopted, randomly skewing the result (#4960)"
exclude :test_machine_stack_size, "slow and unreliable"
exclude :test_main_thread_status_at_exit, "we do not set main thread to aborting when it terminates; differing opinions on thread lifecycle at main shutdown"
exclude :test_main_thread_variable_in_enumerator, "differing notions of current thread within a fiber"
exclude :test_mutex_interrupt, "hangs"
exclude :test_mutex_unlock_on_trap, "traps execute in a separate thread in JRuby, and can't unlock a mutex"
exclude :test_no_valid_cfp, "may depend on MRI internal stack structures"
exclude :test_priority, "unreliably depends on thread scheduling"
exclude :test_recursive_outer, "expected to be fixed by our change based on MRI r43981 but was not"
exclude :test_report_on_exception, "very sensitive to thread timing and parallelism"
exclude :test_safe_level, "SAFE levels are unsupported"
exclude :test_signal_at_join, "very timing-sensitive and very edge casey"
exclude :test_thread_interrupt_for_killed_thread, "uses RubyVM"
exclude :test_thread_join_in_trap, "fails intermittently (#4956)"
exclude :test_stack_size, "slow and unreliable"
exclude :test_thread_join_main_thread, "hangs"
exclude :test_thread_setname_in_initialize, "needs investigation #4308"
exclude :test_thread_status_raise_after_kill, "aborting status does not show up as expected"
exclude :test_thread_timer_and_interrupt, "event statuses do not match expected"
exclude :test_thread_value_in_trap, "fails intermittently (#4956)"
exclude :test_thread_variable_in_enumerator, "fibers in JRuby have their own Thread.current"
exclude :test_vm_machine_stack_size, "slow and unreliable"
exclude :test_wakeup, "uses RubyVM"

0 comments on commit b0862e6

Please sign in to comment.