Skip to content

Fix flakey scheduled publishing test#3

Open
Havoooo wants to merge 1 commit into
mainfrom
fix-for-flakey-tests
Open

Fix flakey scheduled publishing test#3
Havoooo wants to merge 1 commit into
mainfrom
fix-for-flakey-tests

Conversation

@Havoooo

@Havoooo Havoooo commented Jul 2, 2023

Copy link
Copy Markdown
Owner

When running tests in parallell the scheduled publishing worker test has a tendency to randomly fail. This seems to be because old editions are not properly discarded or are running at the same time which causes the test to fail.

To fix this we have stubbed out the sidkiq jobs so they won't interfere with eachother.

Trello card: https://trello.com/c/DhRIp7Nu/830-flaky-scheduled-publishing-worker-tests-in-whitehall

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

When running tests in parallell the scheduled publishing worker test has
a tendency to randomly fail. This seems to be because old editions are
not properly discarded or are running at the same time which causes the
test to fail.

To fix this we have stubbed out the sidkiq jobs so they won't interfere
with eachother.

Trello card: https://trello.com/c/DhRIp7Nu/830-flaky-scheduled-publishing-worker-tests-in-whitehall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants