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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a1ee16535a80623dfcca5bd323c52ee4743503040198e1aae945a17a4ce78ed
4
- data.tar.gz: d60592e2447449c11f81ff3a9fe0ef6448b4dd657c5083e35595acf9e7e68621
3
+ metadata.gz: 6620dc68c37035d9a03d498baaa8d190df7d27ab7d31fdab36b08ae7b937b382
4
+ data.tar.gz: c67c51eec28faf72ad4840571107b251bb6eff923e96274be2c3345fdd672d1d
5
5
  SHA512:
6
- metadata.gz: f4f1117fc75677a5b1692f54eefc99b23679b976a57905cea6557a2b371a70dc40a16b78fad566e04794bd98168e1b64a813d99073ab1b70ce92534761549567
7
- data.tar.gz: 4229140614275e54eff25041d6f0b72edabb801492d66280131f62b2622fc7a807929250f0ac9f78fe2c048011784d22da2285d2f0522f0550a963e6baa025de
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
- fd.set_test_deadline(example.id)
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-mergify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mergify