Skip to content

Commit cba2cdd

Browse files
casperisfinebyroot
authored andcommitted
Fix typo in timeout warning
1 parent a90cb05 commit cba2cdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ruby/lib/minitest/queue/runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def display_warnings(build)
160160
puts reopen_previous_step
161161
puts yellow(
162162
"[WARNING] #{attributes[:test]} was picked up by another worker because it didn't complete in the allocated #{attributes[:timeout]} seconds.\n" \
163-
"You may want to either optimize this test of bump ci-queue timeout.\n" \
163+
"You may want to either optimize this test or bump ci-queue timeout.\n" \
164164
"It's also possible that the worker that was processing it was terminated without being able to report back.\n"
165165
)
166166
end

ruby/test/integration/minitest_redis_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def test_redis_reporter
367367
Waiting for workers to complete
368368
369369
[WARNING] Atest#test_bar was picked up by another worker because it didn't complete in the allocated 2 seconds.
370-
You may want to either optimize this test of bump ci-queue timeout.
370+
You may want to either optimize this test or bump ci-queue timeout.
371371
It's also possible that the worker that was processing it was terminated without being able to report back.
372372
373373
Ran 7 tests, 8 assertions, 2 failures, 1 errors, 1 skips, 4 requeues in X.XXs (aggregated)

0 commit comments

Comments
 (0)