Commit graph

17 commits

Author SHA1 Message Date
GitLab Bot
c60d68bbac Add latest changes from gitlab-org/gitlab@master 2020-10-26 09:08:48 +00:00
GitLab Bot
24553ccf90 Add latest changes from gitlab-org/gitlab@master 2020-09-10 03:08:56 +00:00
GitLab Bot
b296ffa543 Add latest changes from gitlab-org/gitlab@master 2020-09-09 21:08:33 +00:00
GitLab Bot
4584816f15 Add latest changes from gitlab-org/gitlab@master 2020-06-22 00:08:57 +00:00
GitLab Bot
879372bc8c Add latest changes from gitlab-org/gitlab@master 2020-05-02 15:09:53 +00:00
GitLab Bot
0ce0b7bc5d Add latest changes from gitlab-org/gitlab@master 2020-05-02 09:09:24 +00:00
GitLab Bot
3795b229ab Add latest changes from gitlab-org/gitlab@master 2020-05-01 00:09:59 +00:00
GitLab Bot
76623c12c1 Add latest changes from gitlab-org/gitlab@master 2020-02-05 21:09:02 +00:00
GitLab Bot
36e363d33d Add latest changes from gitlab-org/gitlab@master 2020-01-21 21:08:54 +00:00
Mayra Cabrera
0ab89d8e36 Add a rubocop for Rails.logger
Suggests to use a JSON structured log instead

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-07-10 19:26:47 +00:00
gfyoung
c8755543f0 Enable even more frozen string in lib/**/*.rb
Enables frozen string for the following files:

* lib/generators/**/*.rb
* lib/gitaly/**/*.rb
* lib/google_api/**/*.rb
* lib/haml_lint/**/*.rb
* lib/json_web_token/**/*.rb
* lib/mattermost/**/*.rb
* lib/microsoft_teams/**/*.rb
* lib/object_storage/**/*.rb
* lib/omni_auth/**/*.rb
* lib/peek/**/*.rb
* lib/rouge/**/*.rb
* lib/rspec_flaky/**/*.rb
* lib/system_check/**/*.rb

Partially addresses #47424.
2018-10-08 11:16:49 -07:00
Lin Jen-Shin
39b6f31c66 Eliminate constants warnings by:
* Replace `require` or `require_relative` with `require_dependency`
* Remove unneeded `autoload`
2018-06-01 13:46:46 +08:00
Rémy Coutable
b11e887582
Improve the architecture of RspecFlaky classes by introducing a new RspecFlaky::Report class
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-10 15:38:40 +02:00
Rémy Coutable
5bef32195b
Introduce RspecFlaky::ExamplesPruner to prune old flaky examples
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-10 15:38:40 +02:00
Rémy Coutable
da5aa64f06
Add new RSpecFlaky::FlakyExamplesCollection and RSpecFlaky::Config classes
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-06 12:00:09 +02:00
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
Rémy Coutable
8f8fd34231 Use a new RspecFlakyListener to detect flaky specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-11 14:55:10 +02:00