gitlab-org--gitlab-foss/spec
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
..
bin
config
controllers Merge branch '31050-registry-image-lists' into 'master' 2017-10-04 07:58:34 +00:00
db/production
factories Let fetch_ref pull from Gitaly instead of from disk 2017-10-04 12:57:41 +02:00
features Merge branch '31050-registry-image-lists' into 'master' 2017-10-04 07:58:34 +00:00
finders Support custom attributes on users 2017-09-28 16:49:42 +00:00
fixtures Merge branch '31050-registry-image-lists' into 'master' 2017-10-04 07:58:34 +00:00
helpers Resolve "Precompiled assets with digest strings are ignored in CI" 2017-10-03 14:47:56 +00:00
initializers
javascripts Merge branch '36742-hide-close-mr-button-on-merge' into 'master' 2017-10-04 09:24:28 +00:00
lib Ensure RSpecFlaky doesn't automatically update flaky examples 2017-10-04 15:14:38 +02:00
mailers
migrations Merge branch '36631-activerecord-statementinvalid-pg-querycanceled-error-canceling-statement-due-to-statement-timeout' into 'master' 2017-09-29 13:43:28 +00:00
models Let fetch_ref pull from Gitaly instead of from disk 2017-10-04 12:57:41 +02:00
policies moved fork checks into policies 2017-09-29 12:14:39 +01:00
presenters Reduce method calls while evaluating Projects::MergeRequestsController#show.json 2017-10-04 00:09:48 -03:00
requests Merge branch '37970-timestamped-ci' into 'master' 2017-10-03 18:16:54 +00:00
routing
rubocop/cop
serializers Merge branch '31050-registry-image-lists' into 'master' 2017-10-04 07:58:34 +00:00
services Hide Gollum inside Gitlab::Git::Wiki 2017-10-03 16:58:33 +00:00
sidekiq/cron
support Merge branch '31050-registry-image-lists' into 'master' 2017-10-04 07:58:34 +00:00
tasks Add support to migrate existing projects to Hashed Storage async 2017-09-28 16:32:14 +01:00
unicorn
uploaders
validators
views Merge branch '31050-registry-image-lists' into 'master' 2017-10-04 07:58:34 +00:00
workers Hide Gollum inside Gitlab::Git::Wiki 2017-10-03 16:58:33 +00:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Resolve "Precompiled assets with digest strings are ignored in CI" 2017-10-03 14:47:56 +00:00