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

Start web platform tests server before tests run #2057

Merged
merged 1 commit into from Dec 2, 2017

Conversation

domenic
Copy link
Member

@domenic domenic commented Nov 19, 2017

This is an attempt to address recent flaky builds, which we think might be caused because the server is starting in the middle of a JSDOM API test, causing a timeout for the currently-running JSDOM API test.

The previous design started booting the server the first time it was needed, and made all tests wait for the server-creation promise before commencing their actual logic. Now, server-creation runs in a before() block.

In the process, it removes the fallback to w3c-test.org, as that configuration isn't tested and generally can cause issues.

This is an attempt to address recent flaky builds, which we think might be caused because the server is starting in the middle of a JSDOM API test, causing a timeout for the currently-running JSDOM API test.

The previous design started booting the server the first time it was needed, and made all tests wait for the server-creation promise before commencing their actual logic. Now, server-creation runs in a before() block.

In the process, it removes the fallback to w3c-test.org, as that configuration isn't tested and generally can cause issues.
@domenic domenic merged commit ad921b2 into master Dec 2, 2017
@domenic domenic deleted the bootup-servers-first branch December 2, 2017 22: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.

None yet

1 participant