ci-queue 0.49.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ci/queue/redis/base.rb +3 -0
- data/lib/ci/queue/version.rb +1 -1
- data/lib/minitest/queue/runner.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54b9a3eb96743e79e564f0a0c90ff4923c4c2282e1f7926e40c575a8de7c9e94
|
4
|
+
data.tar.gz: 27cb858f6f2ca20dc7649ff4d1ab040896c347d0acf7093b0f9bb3fb03abd878
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99c4f39dbf0d287d87b283d994c5c14cd8b7a49d3e426a9c9fbf9b752cb4818a7c89a64a4526318717bba7a0759fce39c843f5c26df894f7f0d427c1b9d2f9be
|
7
|
+
data.tar.gz: adaaff3e53cedfcb8c2e4446f079a6cbd75fc7c56c1b7db1bf99bf820de06f7eb19bf16d68517ce65cfcfa908d83785ccebf08727ae13533e4f1e8ea746ca013
|
data/Gemfile.lock
CHANGED
data/lib/ci/queue/redis/base.rb
CHANGED
@@ -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
|
|
data/lib/ci/queue/version.rb
CHANGED
@@ -182,10 +182,10 @@ module Minitest
|
|
182
182
|
def bisect_command
|
183
183
|
invalid_usage! "Missing the FAILING_TEST argument." unless queue_config.failing_test
|
184
184
|
|
185
|
-
@queue = CI::Queue::Bisect.new(queue_url, queue_config)
|
186
|
-
Minitest.queue = queue
|
187
185
|
set_load_path
|
188
186
|
load_tests
|
187
|
+
@queue = CI::Queue::Bisect.new(queue_url, queue_config)
|
188
|
+
Minitest.queue = queue
|
189
189
|
populate_queue
|
190
190
|
|
191
191
|
step("Testing the failing test in isolation")
|
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.51.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-
|
11
|
+
date: 2024-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
242
242
|
- !ruby/object:Gem::Version
|
243
243
|
version: '0'
|
244
244
|
requirements: []
|
245
|
-
rubygems_version: 3.5.
|
245
|
+
rubygems_version: 3.5.9
|
246
246
|
signing_key:
|
247
247
|
specification_version: 4
|
248
248
|
summary: Distribute tests over many workers using a queue
|