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

deflake TestRemoteAllocator #1287

Merged
merged 1 commit into from
Mar 17, 2023
Merged

Conversation

ZekeLu
Copy link
Member

@ZekeLu ZekeLu commented Mar 17, 2023

Most of the recent GitHub action failures show that the test TestRemoteAllocator/NoModifyURL is flaky. The error message looks like this:

testing.go:958: TempDir RemoveAll cleanup: unlinkat /tmp/TestRemoteAllocatorNoModifyURL2775572114/001/Default/Code Cache/wasm: directory not empty

That's because it does not call cmd.Wait() to wait for the command to exit.

This commit also simplify the code to kill the command.

Updates #1105.

Most of the recent GitHub action failures show that the test
TestRemoteAllocator/NoModifyURL is flaky. The error message
looks like this:
  testing.go:958: TempDir RemoveAll cleanup: unlinkat /tmp/TestRemoteAllocatorNoModifyURL2775572114/001/Default/Code Cache/wasm: directory not empty
That's because it does not call cmd.Wait() to wait for the command
to exit.

This commit also simplify the code to kill the command.
@ZekeLu ZekeLu merged commit 97a00b9 into chromedp:master Mar 17, 2023
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.

1 participant