ci-queue 0.35.0 → 0.37.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: 19b41ce5e21a08d1bf7396bd3fbbebb35d3a41b4a7dd64117f087457fb402803
|
4
|
+
data.tar.gz: 0b65846e8be38fe114d2ed9a29c8e6438d8ef20198eef0f03cf24898b24849c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9868a90570148e6222ddc962ee66a5f58a2c8d176ea981a24ac819c9955cb30e8c73589dd4fac1e25616a0d0b9e92d375f61c4ebfdd185db867f3a000a742d3e
|
7
|
+
data.tar.gz: 97c4b3e36513c7320ff580365c324b0407622c1be45124df82607c8517470e92e8a308144eb9ecfac2ec2ea12a0d3196a414dc9ee4322c86792830d8ebde8e97
|
@@ -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.37.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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|