rspec-mergify 0.0.3 → 0.0.4
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/mergify/rspec/configuration.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6620dc68c37035d9a03d498baaa8d190df7d27ab7d31fdab36b08ae7b937b382
|
|
4
|
+
data.tar.gz: c67c51eec28faf72ad4840571107b251bb6eff923e96274be2c3345fdd672d1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 485019cda8980abe528dcc4833eec21c662f209e2c7b7ae966ecc32ce284b06eb25e3c919496329d94eea8f70e1b7dc889a770e42e4cec40f6db3d9cd1763882
|
|
7
|
+
data.tar.gz: 9552f28c2d015ce6aa70f81cb50c021037c971619a3cafa19269654f997afb30540293426d18d3bcc8236e945aeaea2bc49d86ba43c57c71dff26e048112f260
|
|
@@ -53,12 +53,13 @@ module Mergify
|
|
|
53
53
|
|
|
54
54
|
next unless fd&.rerunning_test?(example.id)
|
|
55
55
|
|
|
56
|
-
|
|
57
|
-
next if fd.test_too_slow?(example.id)
|
|
58
|
-
|
|
56
|
+
# Mark as flaky detection candidate (even if too slow to rerun)
|
|
59
57
|
example.metadata[:mergify_flaky_detection] = true
|
|
60
58
|
example.metadata[:mergify_new_test] = true if fd.mode == 'new'
|
|
61
59
|
|
|
60
|
+
fd.set_test_deadline(example.id)
|
|
61
|
+
next if fd.test_too_slow?(example.id)
|
|
62
|
+
|
|
62
63
|
distinct_outcomes = Set.new
|
|
63
64
|
distinct_outcomes.add(example.execution_result.status) if example.execution_result.status
|
|
64
65
|
|