gitlab-org--gitlab-foss/lib
Rémy Coutable ebfb5a5075 Ensure RSpecFlaky doesn't automatically update flaky examples
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>
2017-10-04 15:14:38 +02:00
..
api Merge branch '37970-timestamped-ci' into 'master' 2017-10-03 18:16:54 +00:00
assets
backup Ensure all refs are restored on a restore from backup 2017-09-29 15:17:05 -07:00
banzai Merge remote-tracking branch 'upstream/master' into gem/sm/bump-google-api-client-gem-from-0-8-6-to-0-13-6 2017-10-03 23:03:36 +08:00
bitbucket
constraints Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
container_registry
declarative_policy Merge branch 'rs-more-public-send-whitelists' into 'master' 2017-08-16 11:25:26 +00:00
generators/rails/post_deployment_migration
github Fix notes type created from import 2017-09-29 11:18:58 +00:00
gitlab Merge branch 'capture-rev-list-errors' into 'master' 2017-10-04 12:07:23 +00:00
haml_lint
json_web_token
mattermost
microsoft_teams
omni_auth/strategies
peek/rblineprof
rouge
rspec_flaky Ensure RSpecFlaky doesn't automatically update flaky examples 2017-10-04 15:14:38 +02:00
support
system_check Whitelist authorized_keys.lock in the gitlab:check rake task 2017-10-02 11:25:02 +01:00
tasks Load only the currently needed JS locale file 2017-10-04 11:23:52 +00:00
additional_email_headers_interceptor.rb
after_commit_queue.rb Update rubocop-gitlab-security to 0.1.0 2017-08-28 12:46:00 -04:00
banzai.rb
declarative_policy.rb
disable_email_interceptor.rb
email_template_interceptor.rb `current_application_settings` belongs on `Gitlab::CurrentSettings` 2017-08-31 13:38:33 +01:00
event_filter.rb
expand_variables.rb
extracts_path.rb
feature.rb
file_size_validator.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
system_check.rb
unfold_form.rb
uploaded_file.rb
version_check.rb