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: ensure fullscreen test is retryable #37179

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

MarshallOfSound
Copy link
Member

With retries in mocha only the beforeEach is re-run, we were shutting down the localhost server in an afterEach but setting it up in a before. This moves the logic to a beforeEach and avoids a race condition where the server isn't listening when the test runs.

Notes: no-notes

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Feb 8, 2023
@MarshallOfSound MarshallOfSound added semver/none and removed new-pr 🌱 PR opened in the last 24 hours labels Feb 8, 2023
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Feb 8, 2023
@MarshallOfSound MarshallOfSound changed the title spec: ensure fullscreen test is retryable test: ensure fullscreen test is retryable Feb 8, 2023
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Feb 8, 2023
@MarshallOfSound MarshallOfSound merged commit 8b380ee into main Feb 8, 2023
@MarshallOfSound MarshallOfSound deleted the retryable-fullscreen-test branch February 8, 2023 20:40
@release-clerk
Copy link

release-clerk bot commented Feb 8, 2023

No Release Notes

khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
spec: ensure fullscreen test is retryable
gecko19 pushed a commit to brightsign/electron that referenced this pull request Feb 28, 2023
spec: ensure fullscreen test is retryable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants