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

Investigate test failures under macOS #524

Open
datho7561 opened this issue Jul 20, 2022 · 1 comment
Open

Investigate test failures under macOS #524

datho7561 opened this issue Jul 20, 2022 · 1 comment
Labels
bug Something isn't working build
Milestone

Comments

@datho7561
Copy link
Contributor

No description provided.

@datho7561 datho7561 added bug Something isn't working build labels Jul 20, 2022
@datho7561 datho7561 added this to the 1.11.0 milestone Jul 20, 2022
@datho7561
Copy link
Contributor Author

Some of the logs mention that the afterEach hook times out. However, our test suite doesn't define an afterEach hook. I dug around in the vscode-extension-tester code to see what hooks it defines and found this:
https://github.com/redhat-developer/vscode-extension-tester/blob/master/src/suite/runner.ts#L55

Maybe this is related? I'm not sure how to test if taking a screenshot is causing the timeout, other than maybe vendoring a version of vscode-extension-tester without the screenshot code, or modifying its code after it's installed.

If it's the screenshot that's causing the tests to timeout, then that means the test failed, since the hook doesn't try to take a screenshot unless the test fails. I'll continue to investigate to see if I can figure out what causes the test to fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build
Projects
None yet
Development

No branches or pull requests

1 participant