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

Add retries to flaky multiroot semaphores tests. #559

Merged
merged 4 commits into from
Nov 14, 2024

Conversation

Mati365
Copy link
Member

@Mati365 Mati365 commented Nov 13, 2024

Suggested merge commit message (convention)

Tests: Add retry option to flaky multiroot test, extend delay between assertions.
Tests: Randomize the order of the tests, to prevent incorrect dependencies across tests.


Additional information

This test tests quite rare scenario when setData is being called when editor is not initialized. In theory - it is possible, but I haven't managed to reproduce this in the real world. At this moment, there were no reports about incorrect behavior, so it's safe enough to retry it a few times.

@coveralls
Copy link

coveralls commented Nov 13, 2024

Pull Request Test Coverage Report for Build 934960b4-11e8-492d-a92b-e3dc929f3348

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build a29952f7-4ab2-4d09-a6e5-b1888419d034: 0.0%
Covered Lines: 591
Relevant Lines: 591

💛 - Coveralls

tests/useMultiRootEditor.test.tsx Outdated Show resolved Hide resolved
tests/useMultiRootEditor.test.tsx Outdated Show resolved Hide resolved
tests/useMultiRootEditor.test.tsx Outdated Show resolved Hide resolved
tests/useMultiRootEditor.test.tsx Outdated Show resolved Hide resolved
tests/useMultiRootEditor.test.tsx Show resolved Hide resolved
@gorzelinski gorzelinski self-requested a review November 14, 2024 09:40
@Mati365 Mati365 merged commit c90694a into master Nov 14, 2024
5 checks passed
@Mati365 Mati365 deleted the ck/add-retries-to-flaky-semaphore-tests branch November 14, 2024 09:41
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.

3 participants