Skip to content

Commit 06b2d62

Browse files
committed
Tell why build aborted
1 parent 5e2b02e commit 06b2d62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ruby/lib/ci/queue/redis/supervisor.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ def wait_for_workers
3939
yield if block_given?
4040
end
4141

42-
puts "Aborting, it seems all workers died." if time_left_with_no_workers <= 0
42+
puts "Aborting, timed out." if time_left <= 0 && !exhausted?
43+
puts "Aborting, it seems all workers died." if time_left_with_no_workers <= 0 && !exhausted?
44+
4345
exhausted?
4446
rescue CI::Queue::Redis::LostMaster
4547
false

0 commit comments

Comments
 (0)