rspec_trunk_flaky_tests 0.7.8.pre.beta.0-aarch64-linux → 0.7.9-aarch64-linux
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 +4 -4
- data/lib/context_ruby/3.0/context_ruby.so +0 -0
- data/lib/context_ruby/3.1/context_ruby.so +0 -0
- data/lib/context_ruby/3.2/context_ruby.so +0 -0
- data/lib/context_ruby/3.3/context_ruby.so +0 -0
- data/lib/context_ruby/3.4/context_ruby.so +0 -0
- data/lib/trunk_spec_helper.rb +3 -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: c5b1ea4c3f9040d62467aa9f4113d5111ca8d27c19c58d348e493b866a444006
|
4
|
+
data.tar.gz: d48cd4756ab5d561a44435ff4dc68acd33b8fea23520ae02747e097c647504a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dc1bab4f2fdeaaf275f6be7653da0f3d81c61fa81ae3ac7331afaaf1a1af0bdc09feea83f52eb51fc7972276f6005b4cc1b53560fb2c3cd9b81e90e57ae0d0c
|
7
|
+
data.tar.gz: df719a6bc0954e865fbbf1a1db5362830ed59218e6959d8c6c91f06c21734e06a33fdedf29fb1a734e8677934e0994358c93637693f4bdfdf6487c8d4bb03359
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/trunk_spec_helper.rb
CHANGED
@@ -47,7 +47,9 @@ module RSpec
|
|
47
47
|
# decide if we want to fail the test or not
|
48
48
|
# trunk-ignore(rubocop/Naming/AccessorMethodName,rubocop/Metrics/MethodLength,rubocop/Metrics/AbcSize)
|
49
49
|
def set_exception(exception)
|
50
|
+
return set_exception_core(exception) if metadata[:pending]
|
50
51
|
return set_exception_core(exception) if trunk_disabled
|
52
|
+
return set_exception_core(exception) if metadata[:retry_attempts]&.positive?
|
51
53
|
|
52
54
|
id = generate_trunk_id
|
53
55
|
name = full_description
|
@@ -158,7 +160,7 @@ class TrunkAnalyticsListener
|
|
158
160
|
finished_at = example.execution_result.finished_at.to_i
|
159
161
|
id = example.generate_trunk_id
|
160
162
|
|
161
|
-
attempt_number = example.metadata[:attempt_number] || 0
|
163
|
+
attempt_number = example.metadata[:retry_attempts] || example.metadata[:attempt_number] || 0
|
162
164
|
status = example.execution_result.status.to_s
|
163
165
|
# set the status to failure, but mark it as quarantined
|
164
166
|
is_quarantined = example.metadata[:quarantined_exception] ? true : false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec_trunk_flaky_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.9
|
5
5
|
platform: aarch64-linux
|
6
6
|
authors:
|
7
7
|
- Trunk Technologies, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-core
|