-
Notifications
You must be signed in to change notification settings - Fork 58
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: resolve flaky test (macos-14, 22, npm ci, 1) #5984
Conversation
This pull request adds or modifies JavaScript ( |
9c6faa7
to
4227a74
Compare
84e934a
to
081aca9
Compare
ceb8120
to
2bbffdf
Compare
c599b49
to
f5e0315
Compare
f5e0315
to
543ecc5
Compare
repositoryRoot: packages/build/tests/install/fixtures/yarn_ci␊ | ||
testOpts:␊ | ||
pluginsListUrl: test␊ | ||
silentLingeringProcesses: true␊ | ||
useBinary: true␊ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useBinary
was being passed in as a flag instead of altering test setup
@@ -368,7 +368,7 @@ test('Plugin errors that occur during the loading phase are piped to system logs | |||
t.snapshot(normalizeOutput(output)) | |||
}) | |||
|
|||
test('Plugins have a pre-populated Blobs context', async (t) => { | |||
test.serial('Plugins have a pre-populated Blobs context', async (t) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to parallelism, sometimes when calling getPort()
by the time the port is used by the test it has been claimed by something else. Making the test run serially is a workaround for this.
Wasn't able to get to a resolution. I believe upgrading |
Summary
Resolves the ava timeouts that have been making our test suite flaky for quite some time now:
(macos-14, 22, npm ci, 1)
Timed out while running tests
message fromava
Predominately followed discussion in
https://github.com/avajs/ava/discussions/3036
to get to a resolution