Commit 623d6886 authored by Mark Chao's avatar Mark Chao

Fix flaky spec on seat link cron

parent 689edd97
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment