1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/excludes/TestThread.rb
nagachika 6d8007fab4 merge revision(s) 17e09f033c4d3b786672ba16d2c5d935482a2fad,bfc697f1e26f1406c45ec7309ca0d4c0b5ecedd6:
Skip three tests on FreeBSD 13

	Some tests that use signals frequently fail randomly on FreeBSD 13.
	Maybe something around signals has changed in FreeBSD 13.
	This change skips them tentatively.
	---
	 test/excludes/TestThread.rb        | 9 +++++++++
	 test/excludes/TestThreadQueue.rb   | 9 +++++++++
	 test/io/console/test_io_console.rb | 9 ++++++++-
	 3 files changed, 26 insertions(+), 1 deletion(-)
	 create mode 100644 test/excludes/TestThreadQueue.rb

	test/io/console/test_io_console.rb: parens needed

	---
	 test/io/console/test_io_console.rb | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
2022-05-03 11:24:55 +09:00

14 lines
584 B
Ruby

# frozen_string_literal: false
exclude(/_stack_size$/, 'often too expensive')
if /freebsd13/ =~ RUBY_PLATFORM
# http://rubyci.s3.amazonaws.com/freebsd13/ruby-master/log/20220216T143001Z.fail.html.gz
#
# 1) Error:
# TestThread#test_signal_at_join:
# Timeout::Error: execution of assert_separately expired timeout (120 sec)
# pid 30743 killed by SIGABRT (signal 6) (core dumped)
# |
#
# /usr/home/chkbuild/chkbuild/tmp/build/20220216T143001Z/ruby/test/ruby/test_thread.rb:1390:in `test_signal_at_join'
exclude(:test_signal_at_join, 'gets stuck somewhere')
end