Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix flaky fsm retry test #1767

Merged
merged 1 commit into from
Jun 13, 2024
Merged

test: fix flaky fsm retry test #1767

merged 1 commit into from
Jun 13, 2024

Conversation

matt2e
Copy link
Collaborator

@matt2e matt2e commented Jun 13, 2024

fsm retry test was sometimes failing because the async task was not picked up within the 1s interval that the test expected.
Now the interval is 1.5s. Retries in the test have also been increased to 2s with less retries so that the interval is still less than the retry frequency, and so we aren't approaching the 30s timeout.
Example of flakiness: https://github.com/TBD54566975/ftl/actions/runs/9494930873/job/26166196434?pr=1765#logs

@matt2e matt2e requested a review from alecthomas as a code owner June 13, 2024 07:00
@matt2e matt2e requested review from a team and deniseli and removed request for a team June 13, 2024 07:00
@ftl-robot ftl-robot mentioned this pull request Jun 13, 2024
@matt2e matt2e merged commit 77a9acc into main Jun 13, 2024
42 checks passed
@matt2e matt2e deleted the matt2e/fsm-retry-test-flaky branch June 13, 2024 10:11
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