Try avoiding "invalid byte sequence in UTF-8"

This commit is contained in:
Yusuke Endoh 2025-03-27 14:05:00 +09:00
parent 12f8dda9e0
commit 28c7ae6626
Notes: git 2025-03-28 05:19:50 +00:00

View File

@ -222,7 +222,7 @@ module TestParallel
def test_retry_workers
spawn_runner "--worker-timeout=1", "--retry", "test4test_slow_0.rb", "test4test_slow_1.rb", jobs: "2"
buf = ::TestParallel.timeout(TIMEOUT) {@test_out.read}
buf = ::TestParallel.timeout(TIMEOUT) {@test_out.read.b}
assert_match(/^Retrying hung up testcases\.+$/, buf)
assert_match(/^2 tests,.* 0 failures,/, buf)
end