ci-queue 0.43.0 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ci/queue/version.rb +1 -1
- data/lib/minitest/queue.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d358486ed352600dfd7852ac73bb78eadb6b1a16590ff9b8a325cac8d6d7eecc
|
4
|
+
data.tar.gz: 616effbd0c5f6e838a0213d73e9ea3e5ad874c617c7dd5af37150476dc057369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 024057c3cd9e5c3448e6378013d46edd86898f40a582c07736f204aa93d6c233715ff784ecb8c5f9e4917c6267d827dc12e9455e071af0198a377d33c932913b
|
7
|
+
data.tar.gz: 84bea6fbdb4e8a54ced3a7d42c7a6fe963dd2d1b20cc0281d87d78332944af126275e9200d073de5d6e4caa9b20d787b7afc870315a739b9af0ef921e69a5586
|
data/lib/ci/queue/version.rb
CHANGED
data/lib/minitest/queue.rb
CHANGED
@@ -107,6 +107,7 @@ module Minitest
|
|
107
107
|
end
|
108
108
|
|
109
109
|
module Queue
|
110
|
+
include ::CI::Queue::OutputHelpers
|
110
111
|
attr_writer :run_command_formatter, :project_root
|
111
112
|
|
112
113
|
def run_command_formatter
|
@@ -260,6 +261,11 @@ module Minitest
|
|
260
261
|
end
|
261
262
|
end
|
262
263
|
queue.stop_heartbeat!
|
264
|
+
rescue Errno::EPIPE
|
265
|
+
# This happens when the heartbeat process dies
|
266
|
+
reopen_previous_step
|
267
|
+
puts red("The heartbeat process died. This worker is exiting early.")
|
268
|
+
exit!(41)
|
263
269
|
end
|
264
270
|
end
|
265
271
|
end
|