ebfb5a5075
Previously, instantiating a RspecFlaky::FlakyExample object would automatically update its first_flaky_at, last_flaky_at and last_flaky_job. That was wrong because we would overwrite every time the suite report with this false data. We now: - Get the suite report and only read from it - Write only the currently detected flaky examples in the report, so that the final report is only updated with flaky examples that were actually detected in each job. Before, job1 could overwrite the legit report from job2! - Write the newly detected flaky examples by rejecting the already tracked flaky specs instead of using another hash. Signed-off-by: Rémy Coutable <remy@rymai.me> |
||
---|---|---|
.. | ||
api/helpers | ||
banzai | ||
bitbucket | ||
constraints | ||
container_registry | ||
github | ||
gitlab | ||
json_web_token | ||
mattermost | ||
microsoft_teams | ||
rspec_flaky | ||
system_check | ||
additional_email_headers_interceptor_spec.rb | ||
after_commit_queue_spec.rb | ||
disable_email_interceptor_spec.rb | ||
event_filter_spec.rb | ||
expand_variables_spec.rb | ||
extracts_path_spec.rb | ||
feature_spec.rb | ||
file_size_validator_spec.rb | ||
gitlab_spec.rb | ||
repository_cache_spec.rb | ||
system_check_spec.rb |