gitlab_quality-test_tooling 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d991bf33f977c242a64aeaef438f73085f6aeaf7575674ace10a36ea62484be
4
- data.tar.gz: 7e2b37d11e14b21d2acb9b8bcd49094331d0fd06e799cf041a494413295367d3
3
+ metadata.gz: cd181fe7622793361cd772d2f949d1a8922f4b0762c2d50ae9f839fdfd69bb86
4
+ data.tar.gz: aaa900d8e19eff7ae0016bda52bf6dc3722aa4e4fe288f16c16d6685254c831a
5
5
  SHA512:
6
- metadata.gz: d73508a586cacef8d59d4e40d39ae198d61f22b900f0995705ddf5753467b23676eb71adb90b08e4a9064aa94f250edb78665dd371edef1e735f36e57ccbc547
7
- data.tar.gz: f858ca470f52e7b5dfe86e49016f5f45ab19132c3946ea5f3d9c445ca739da336bfa5ee0d36fab79d88b8d6d26af5392812cef400a75b52cd9dc9a3081d06627
6
+ metadata.gz: 5b5e1a85230726944574ec3c92c9fbe0e8a547776a6a7f7ce07d4db1889abf1a23b35a8b13b55d79eaf90eb3b7cfac4ec47960efa9eedaa509ffa02dd9655077
7
+ data.tar.gz: 47f438135b5ac5d4cc2cfc95a30e6a917f6de4c714bd8f42ed74c4d51439af925ac1424bf2105e71c76cd581f5faf287d8d0a415bf4c220df36df2fd85ec6149
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlab_quality-test_tooling (2.4.0)
4
+ gitlab_quality-test_tooling (2.5.0)
5
5
  activesupport (>= 7.0, < 7.2)
6
6
  amatch (~> 0.4.1)
7
7
  fog-google (~> 1.24, >= 1.24.1)
@@ -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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GitlabQuality
4
4
  module TestTooling
5
- VERSION = "2.4.0"
5
+ VERSION = "2.5.0"
6
6
  end
7
7
  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.0
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: 2024-12-05 00:00:00.000000000 Z
11
+ date: 2025-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: climate_control