Skip to content

Commit 8d0f4c9

Browse files
authored
Merge pull request #68 from Shopify/test_ci_2
Test CI #2
2 parents ab2dcc7 + 4440007 commit 8d0f4c9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tool/lib/test/unit/parallel.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,14 @@ def _run_suite(suite, type) # :nodoc:
5252
# Thread for making sure the parallel worker is not stuck on one test
5353
# for too long.
5454
@timer_thread = Thread.new do
55-
timeout = 8 * 60 # 8 minutes
55+
timeout = 60 * 60 # 50 minutes
5656
while true
5757
slept_for = sleep(timeout)
5858
if slept_for >= timeout
59-
_report("p", "Spent #{timeout}s running #{@current_test}\n")
59+
# _report() doesn't print anything in the CI output
60+
# It would be useful to know which test in failing
61+
#_report("p", "Spent #{timeout}s running #{@current_test}\n")
62+
puts("Spent #{timeout}s running #{@current_test}\n")
6063
exit 2
6164
end
6265
end

0 commit comments

Comments
 (0)