ci-queue 0.50.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1ecedc67f9ee4f238a84a54fd8744c735ca3a7921da2cf45f7c28503449d754
4
- data.tar.gz: c77c0f29f913c255d7832ccd4c033020752a64e3e7618f2ab5f7848264bfc135
3
+ metadata.gz: 13e2d06b0469d89f4b43be9b870e85a9726c8163ab4e502122f146c68061d67d
4
+ data.tar.gz: 66949ebadd2add3ec603a7a4a6027a4d6972192e76d950c0527494bf54853dea
5
5
  SHA512:
6
- metadata.gz: ef3dad131865136444f87e12d402132c501ab0f465a69fc79dafb4d52a8120dbeb13633e2199ca5a482be7d39c2b71ddd480e401ac5ff6d3f7f400438a8025f0
7
- data.tar.gz: c0a5396a66b11f6de5a2d733a62112e756c2ca2f45dc254996cc65799760790510a68209225a4ab59df4b49b77602d96b7f4ac76db0521a035358842a53d00f9
6
+ metadata.gz: 55a55c6eb088d6b250dd0fe9ef9e49d042c47cc4c10b9dd300f82daf02f5d08cb5b145c2039a7051bbe42bee573e9b49f4235111d49507d9457aad20e811c9ca
7
+ data.tar.gz: 414e8a3f9e652369d26c286536d6d192ed9c56c5bb23d8203ec75a1d39ebd34bc4e0f5b472bf025866ac4c8737859fc48981f716c459ac7be0dab19a3618d480
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ci-queue (0.50.0)
4
+ ci-queue (0.52.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -139,6 +139,8 @@ module CI
139
139
 
140
140
  def wait_for_master(timeout: 30)
141
141
  return true if master?
142
+ return true if queue_initialized?
143
+
142
144
  (timeout * 10 + 1).to_i.times do
143
145
  if queue_initialized?
144
146
  return true
@@ -146,6 +148,7 @@ module CI
146
148
  sleep 0.1
147
149
  end
148
150
  end
151
+
149
152
  raise LostMaster, "The master worker is still `#{master_status}` after #{timeout} seconds waiting."
150
153
  end
151
154
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module CI
4
4
  module Queue
5
- VERSION = '0.50.0'
5
+ VERSION = '0.52.0'
6
6
  DEV_SCRIPTS_ROOT = ::File.expand_path('../../../../../redis', __FILE__)
7
7
  RELEASE_SCRIPTS_ROOT = ::File.expand_path('../redis', __FILE__)
8
8
  end
@@ -208,7 +208,7 @@ module Minitest
208
208
  puts
209
209
  end
210
210
 
211
- if run_index == 0
211
+ if queue.suspects_left == 0
212
212
  step(yellow("The failing test was the first test in the test order so there is nothing to bisect."))
213
213
  File.write('log/test_order.log', "")
214
214
  exit! 1
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.50.0
4
+ version: 0.52.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: 2024-04-23 00:00:00.000000000 Z
11
+ date: 2024-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler