Fix test runner --fail-fast test flake

Without the sleep, the test has high variability in the amount of test
ran before stopping. With the sleep, the test is pretty stable with
negligeable impact on run time.
This commit is contained in:
Joé Dupuis 2024-05-10 18:52:01 -07:00
parent be0cb4e8f9
commit a63baa5db1
No known key found for this signature in database
GPG Key ID: 09B2AEB6E2486E54

@ -782,8 +782,9 @@ def test_verify_fail_fast
assert false
end
10.times do |n|
4.times do |n|
define_method("test_verify_fail_fast_\#{n}") do
sleep 0.1
assert true
end
end