Skip to content

Commit 07580da

Browse files
committed
Skip failing tests on TruffleRuby and JRuby
1 parent ef3a128 commit 07580da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/logger/test_logdevice.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,9 @@ def test_shifting_size_not_rotate_too_much
437437
logdev1.write(message)
438438
assert_file.identical?(log, logdev1.dev)
439439
# NOTE: below assertion fails in JRuby 9.3 and TruffleRuby
440-
assert_file.identical?(log + ".0", logdev2.dev)
440+
unless %w[jruby truffleruby].include? RUBY_ENGINE
441+
assert_file.identical?(log + ".0", logdev2.dev)
442+
end
441443

442444
logdev2.write(message)
443445
assert_file.identical?(log, logdev1.dev)

0 commit comments

Comments
 (0)