gitlab_quality-test_tooling 2.4.0 → 2.5.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/gitlab_quality/test_tooling/job_trace_analyzer.rb +2 -1
- data/lib/gitlab_quality/test_tooling/report/relate_failure_issue.rb +1 -1
- data/lib/gitlab_quality/test_tooling/test_result/base_test_result.rb +6 -0
- data/lib/gitlab_quality/test_tooling/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd181fe7622793361cd772d2f949d1a8922f4b0762c2d50ae9f839fdfd69bb86
|
4
|
+
data.tar.gz: aaa900d8e19eff7ae0016bda52bf6dc3722aa4e4fe288f16c16d6685254c831a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b5e1a85230726944574ec3c92c9fbe0e8a547776a6a7f7ce07d4db1889abf1a23b35a8b13b55d79eaf90eb3b7cfac4ec47960efa9eedaa509ffa02dd9655077
|
7
|
+
data.tar.gz: 47f438135b5ac5d4cc2cfc95a30e6a917f6de4c714bd8f42ed74c4d51439af925ac1424bf2105e71c76cd581f5faf287d8d0a415bf4c220df36df2fd85ec6149
|
data/Gemfile.lock
CHANGED
@@ -67,7 +67,8 @@ module GitlabQuality
|
|
67
67
|
'segmentation fault',
|
68
68
|
'no space left on device',
|
69
69
|
'Check free disk space',
|
70
|
-
'CLUSTERDOWN'
|
70
|
+
'CLUSTERDOWN',
|
71
|
+
'Redis client could not fetch cluster information: Connection refused'
|
71
72
|
],
|
72
73
|
flaky_test: [
|
73
74
|
"We have detected a PG::QueryCanceled error in the specs, so we're failing early"
|
@@ -106,7 +106,7 @@ module GitlabQuality
|
|
106
106
|
begin
|
107
107
|
issue = find_issue_and_update_reports(test)
|
108
108
|
|
109
|
-
issue = create_issue(test) unless issue || test.quarantine?
|
109
|
+
issue = create_issue(test) unless issue || (test.quarantine? && !test.conditional_quarantine?)
|
110
110
|
|
111
111
|
issue
|
112
112
|
rescue MultipleIssuesFound => e
|
@@ -100,6 +100,12 @@ module GitlabQuality
|
|
100
100
|
!!quarantine
|
101
101
|
end
|
102
102
|
|
103
|
+
def conditional_quarantine?
|
104
|
+
return true if quarantine? && quarantine.is_a?(Hash) && quarantine.has_key?('only')
|
105
|
+
|
106
|
+
false
|
107
|
+
end
|
108
|
+
|
103
109
|
def file
|
104
110
|
@file ||= relative_file.start_with?('qa/') ? "qa/#{relative_file}" : relative_file
|
105
111
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab_quality-test_tooling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitLab Quality
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|