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

chore: fix flaky "project leave" tests #553

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

EvanHahn
Copy link
Contributor

@EvanHahn EvanHahn commented Apr 11, 2024

These tests have been very flaky. After a few hours of investigation it seems that peers weren't synced before someone left the project, which caused waitForSync to hang indefinitely.

We likely want our leave code to be more robust. In the short term, however, I think it's worth fixing these tests. (See #469 (comment) for these "make it more robust" tasks.)

Closes #540.

These tests have been very flaky. After a few hours of investigation it
seems that peers weren't synced before someone left the project, which
caused `waitForSync` to hang indefinitely.

We likely want our leave code to be more robust. In the short term,
however, I think it's worth fixing these tests.
@EvanHahn EvanHahn marked this pull request as ready for review April 11, 2024 18:18
@EvanHahn EvanHahn requested a review from achou11 April 11, 2024 18:18
@EvanHahn EvanHahn merged commit eb7d1f8 into main Apr 11, 2024
4 checks passed
@EvanHahn EvanHahn deleted the fix-flaky-project-leave-tests branch April 11, 2024 18:23
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.

Fix flaky "Creator can leave project if another coordinator exists" test
2 participants