ci-queue 0.36.0 → 0.38.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d2c7f2bbcfac416404fdccc8e0ef588c4ea7e118e1df22ec2e9ab35df91b07e
|
4
|
+
data.tar.gz: d0ef379649b9918571d62b38c9c891403b65739f125a6d895dfba32f7f4ba327
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b01ba206b10a05262680a9e2b199b5710b584e36b746ae521d4bcafcb9e324c9abc0b5704a7e634393cdeca3fe32bfb2cfe3e6aa4489114907cb1638b428ab82
|
7
|
+
data.tar.gz: 14dde136243566c2d1a9c6e0bb2a594921f04399bcde2598ad95efd0127288e345b237e30d4e057d2038a8c236e0e723ae5b4b2c00c9d258ad13637915f82288
|
@@ -47,13 +47,13 @@ module CI
|
|
47
47
|
nil
|
48
48
|
end
|
49
49
|
|
50
|
-
def record_success(id, stats: nil)
|
50
|
+
def record_success(id, stats: nil, skip_flaky_record: false)
|
51
51
|
error_reports_deleted_count, requeued_count, _ = redis.pipelined do |pipeline|
|
52
52
|
pipeline.hdel(key('error-reports'), id.dup.force_encoding(Encoding::BINARY))
|
53
53
|
pipeline.hget(key('requeues-count'), id.b)
|
54
54
|
record_stats(stats, pipeline: pipeline)
|
55
55
|
end
|
56
|
-
record_flaky(id) if error_reports_deleted_count.to_i > 0 || requeued_count.to_i > 0
|
56
|
+
record_flaky(id) if !skip_flaky_record && (error_reports_deleted_count.to_i > 0 || requeued_count.to_i > 0)
|
57
57
|
nil
|
58
58
|
end
|
59
59
|
|
data/lib/ci/queue/version.rb
CHANGED
@@ -52,7 +52,7 @@ module Minitest
|
|
52
52
|
if (test.failure || test.error?) && !test.skipped?
|
53
53
|
build.record_error("#{test.klass}##{test.name}", dump(test), stats: stats)
|
54
54
|
else
|
55
|
-
build.record_success("#{test.klass}##{test.name}", stats: stats)
|
55
|
+
build.record_success("#{test.klass}##{test.name}", stats: stats, skip_flaky_record: test.skipped?)
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
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.38.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-10-
|
11
|
+
date: 2023-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
239
|
- !ruby/object:Gem::Version
|
240
240
|
version: '0'
|
241
241
|
requirements: []
|
242
|
-
rubygems_version: 3.4.
|
242
|
+
rubygems_version: 3.4.21
|
243
243
|
signing_key:
|
244
244
|
specification_version: 4
|
245
245
|
summary: Distribute tests over many workers using a queue
|