ci-queue 0.32.0 → 0.33.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/failure_formatter.rb +1 -1
- data/lib/minitest/queue.rb +14 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd7d0b468f0b411c8adc1a2803ed277a485b8e37b85b954fae3bb18ae2c3be2f
|
4
|
+
data.tar.gz: afc3927215a99f3e874cac77d2c89e6ed2f97e86eabf9d3890b42f8e652a5746
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ef912355c5eb0441f91b1db2386f54d62641187ac518701ead368fb1d013b3ae2a1dadcbce75428caa8dbb9456c8db2fb7d90cefccebd685eebbd565b130af9
|
7
|
+
data.tar.gz: 0b48cb5f122f5784c840d8c172804c105a4bd70909853e83b1a1b75a6a7719aecf07bb381d48b56fe186b45f0a10fd556c5becc8db4b7fe8447552d878262bb6
|
data/lib/ci/queue/version.rb
CHANGED
data/lib/minitest/queue.rb
CHANGED
@@ -234,7 +234,11 @@ module Minitest
|
|
234
234
|
failed = false
|
235
235
|
end
|
236
236
|
|
237
|
-
if failed
|
237
|
+
if failed && queue.config.failing_test && queue.config.failing_test != example.id
|
238
|
+
# When we do a bisect, we don't care about the result other than the test we're running the bisect on
|
239
|
+
result.mark_as_flaked!
|
240
|
+
failed = false
|
241
|
+
elsif failed
|
238
242
|
queue.report_failure!
|
239
243
|
else
|
240
244
|
queue.report_success!
|
@@ -259,15 +263,15 @@ module Minitest
|
|
259
263
|
end
|
260
264
|
end
|
261
265
|
|
262
|
-
|
263
|
-
if defined?
|
264
|
-
|
265
|
-
|
266
|
-
|
266
|
+
Minitest.singleton_class.prepend(Minitest::Queue)
|
267
|
+
if defined? Minitest::Result
|
268
|
+
Minitest::Result.prepend(Minitest::Requeueing)
|
269
|
+
Minitest::Result.prepend(Minitest::Flakiness)
|
270
|
+
Minitest::Result.prepend(Minitest::WithTimestamps)
|
267
271
|
else
|
268
|
-
|
269
|
-
|
270
|
-
|
272
|
+
Minitest::Test.prepend(Minitest::Requeueing)
|
273
|
+
Minitest::Test.prepend(Minitest::Flakiness)
|
274
|
+
Minitest::Test.prepend(Minitest::WithTimestamps)
|
271
275
|
|
272
276
|
module MinitestBackwardCompatibility
|
273
277
|
def source_location
|
@@ -278,5 +282,5 @@ else
|
|
278
282
|
self.class.name
|
279
283
|
end
|
280
284
|
end
|
281
|
-
|
285
|
+
Minitest::Test.prepend(MinitestBackwardCompatibility)
|
282
286
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ci-queue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.33.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|