Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
623d6886
Commit
623d6886
authored
Dec 01, 2021
by
Mark Chao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix flaky spec on seat link cron
parent
689edd97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ee/spec/initializers/1_settings_spec.rb
ee/spec/initializers/1_settings_spec.rb
+1
-1
No files found.
ee/spec/initializers/1_settings_spec.rb
View file @
623d6886
...
@@ -9,7 +9,7 @@ RSpec.describe '1_settings' do
...
@@ -9,7 +9,7 @@ RSpec.describe '1_settings' do
context
'sync_seat_link_worker cron job'
do
context
'sync_seat_link_worker cron job'
do
# explicit use of UTC for self-managed instances to ensure job runs after a Customers Portal job
# explicit use of UTC for self-managed instances to ensure job runs after a Customers Portal job
it
'schedules the job at the correct time'
do
it
'schedules the job at the correct time'
do
expect
(
cron_jobs
.
dig
(
'sync_seat_link_worker'
,
'cron'
)).
to
match
(
/[1-5]{0,1}[0-9]{1,2}
3
\* \* \* UTC/
)
expect
(
cron_jobs
.
dig
(
'sync_seat_link_worker'
,
'cron'
)).
to
match
(
/[1-5]{0,1}[0-9]{1,2}
[34]
\* \* \* UTC/
)
end
end
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment