ci-queue 0.94.0 → 0.95.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c02125deb535c3692db00957a8684af3080464e2eb0433ce32a86d596068290
4
- data.tar.gz: 609ffa08032a2603d305a2651b91a751beb25220fda483a64c5b29b4bd4b9b9e
3
+ metadata.gz: fbfe5c0fc78304868386bb6349559364566bb77e1b66353d8382054a1070fcb6
4
+ data.tar.gz: 8e61c69ecf3ef5bd62f1a099f9206eb339cb95a47988d283c0ef6158bf20c401
5
5
  SHA512:
6
- metadata.gz: e543f22d017b64b9ff0c053e1095485de56900b67f3d81d3f5ee9271c1dd2534774362f5a275bc160aa5c88e9de9f4ba80770540d08b9e0fc017dd58dbfda55f
7
- data.tar.gz: 6309ef7b55e0a627ddeb7415316dae9eb761bebc7d8bf7355d5a6239ac70a91e7558b991c27affc0484a4ccc0a50bb00be7b3d6c2fba9bee52d13fd0af8d9c8e
6
+ metadata.gz: c030de4de40d4d9ee06d88807cc33dc680714af6cf06b3c261f426ab39909826d13165fc0b5cf298f74e8f97cb683dfc2d05ba50951d358717a9cb24344233e3
7
+ data.tar.gz: 3f40abe7cd593a0f4b3bbf34abb11a2031515aea06908952f1de090e8d2657d670265e75e817c2e2b7ef5a707c74e6d0e96a625cdf61f4e8fc76a5baf2f868bf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ci-queue (0.94.0)
4
+ ci-queue (0.95.0)
5
5
  logger
6
6
 
7
7
  GEM
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CI
4
4
  module Queue
5
- VERSION = '0.94.0'
5
+ VERSION = '0.95.0'
6
6
  DEV_SCRIPTS_ROOT = ::File.expand_path('../../../../../redis', __FILE__)
7
7
  RELEASE_SCRIPTS_ROOT = ::File.expand_path('../redis', __FILE__)
8
8
  end
@@ -254,7 +254,9 @@ module Minitest
254
254
  step(yellow("The failing test was the first test in the test order so there is nothing to bisect."))
255
255
  File.write('log/test_order.log', "")
256
256
  File.write('log/bisect_test_details.log', "")
257
- exit! 1
257
+ # Bisect ran successfully; there is simply nothing to bisect against.
258
+ # Reserve non-zero exits for cases where the bisect could not run (see failing_test_present? above).
259
+ exit! 0
258
260
  end
259
261
 
260
262
  failing_order = queue.candidates
@@ -263,7 +265,10 @@ module Minitest
263
265
  step(yellow("The bisection was inconclusive, there might not be any leaky test here."))
264
266
  File.write('log/test_order.log', "")
265
267
  File.write('log/bisect_test_details.log', "")
266
- exit! 1
268
+ # Bisect ran successfully; the failure did not reproduce on the narrowed-down order.
269
+ # This is the expected outcome for genuinely flaky tests (timing/async) rather than order-dependent ones.
270
+ # Reserve non-zero exits for cases where the bisect could not run.
271
+ exit! 0
267
272
  else
268
273
  step(green('The following command should reproduce the leak on your machine:'), collapsed: false)
269
274
  command = %w(bundle exec minitest-queue --queue - run)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ci-queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.94.0
4
+ version: 0.95.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier