diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-18 18:15:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-18 18:15:16 +0300 |
commit | 9ee9d3012b3747270beb6dec6200d632d8afd0e3 (patch) | |
tree | 13dd297abb01c7b45261289c1f97a63dcd0a9fc3 /scripts | |
parent | 00cfeb7c25bdbd460efb83ad846cb924e73ee150 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/flaky_examples/prune-old-flaky-examples | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/flaky_examples/prune-old-flaky-examples b/scripts/flaky_examples/prune-old-flaky-examples index fc31f0f6996..61ea44fe55c 100755 --- a/scripts/flaky_examples/prune-old-flaky-examples +++ b/scripts/flaky_examples/prune-old-flaky-examples @@ -6,7 +6,7 @@ require 'bundler/inline' gemfile do source 'https://rubygems.org' - gem 'rspec_flaky', path: 'gems/rspec_flaky' + gem 'gitlab-rspec_flaky', path: 'gems/gitlab-rspec_flaky' end report_file = ARGV.shift @@ -16,12 +16,12 @@ unless report_file end new_report_file = ARGV.shift || report_file -report = RspecFlaky::Report.load(report_file) +report = Gitlab::RspecFlaky::Report.load(report_file) puts "Loading #{report_file}..." puts "Current report has #{report.size} entries." new_report = report.prune_outdated puts "New report has #{new_report.size} entries: #{report.size - new_report.size} entries older than " \ - "#{RspecFlaky::Report::OUTDATED_DAYS_THRESHOLD} days were removed." + "#{Gitlab::RspecFlaky::Report::OUTDATED_DAYS_THRESHOLD} days were removed." puts "Saved #{new_report_file}." if new_report.write(new_report_file) |