lib/datadog/ci/test_suite.rb in datadog-ci-1.4.1 vs lib/datadog/ci/test_suite.rb in datadog-ci-1.5.0

- old
+ new

@@ -50,9 +50,17 @@ end end end # @internal + def any_test_retry_passed?(test_id) + synchronize do + stats = @execution_stats_per_test[test_id] + stats && stats[Ext::Test::Status::PASS] > 0 + end + end + + # @internal def test_executed?(test_id) synchronize do @execution_stats_per_test.key?(test_id) end end