ci-queue 0.86.0 → 0.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ci/queue/version.rb +1 -1
- data/lib/minitest/queue/runner.rb +10 -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: 8255493f3c842cc8d7a269e8ad22a3aab8928d4d2f98034f09f5effffd9e5ebb
|
|
4
|
+
data.tar.gz: d43ce59b7114d41afbf758973e6bdab5a676ddae8e1a1c56665597c60e6a6e72
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c11eaad88240e00781014d7c8d4e3390e995e412d3ab09ad1f3375a853aca77d278f49c4d8563a3872cdd66e399ef1c107f1acd57344ad5b815202fc9ee8e17b
|
|
7
|
+
data.tar.gz: 8e0c09faf71e486b5096b9a13f377842e4b59dde5ed59f5607b42733525612c810a57a178743d2cb7fcd1bdb83860a2331ef5a09ddbd73b0ec0aa18ee43829c9
|
data/Gemfile.lock
CHANGED
data/lib/ci/queue/version.rb
CHANGED
|
@@ -71,6 +71,16 @@ module Minitest
|
|
|
71
71
|
puts "Retrying failed tests."
|
|
72
72
|
self.queue = retry_queue
|
|
73
73
|
end
|
|
74
|
+
elsif retry? && !queue.rescue_connection_errors { queue.build.failed_tests }.empty?
|
|
75
|
+
# Automatic Buildkite retry (BUILDKITE_RETRY_TYPE=automatic): the main queue is
|
|
76
|
+
# exhausted but error_reports from the previous run still exist. Re-run failed
|
|
77
|
+
# tests so the report step can succeed if they pass this time.
|
|
78
|
+
reset_counters
|
|
79
|
+
retry_queue = queue.retry_queue
|
|
80
|
+
unless retry_queue.exhausted?
|
|
81
|
+
puts "Retrying failed tests."
|
|
82
|
+
self.queue = retry_queue
|
|
83
|
+
end
|
|
74
84
|
end
|
|
75
85
|
|
|
76
86
|
queue.rescue_connection_errors { queue.created_at = CI::Queue.time_now.to_f }
|