-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Automated Smoke Test: prevent VS Code from auto updating #27556
Comments
Today you can only disable auto updates via a setting: |
@bpasero exactly, setting update.channel to 'none' in the test for every test case is too time-consuming, so we will need a new flag. I will leave it as a feature request for now and add it in the next version. |
Another finding: as long as all the tests succeed, VS Code does not have enough time to download an update. But as soon there is a test failure, the automated tests retry which gives VS Code enough time to download the update (and replace VS Code). The next test of the suite will then be run on the updated (typically older) version. |
In order to get a correct picture which tests are failing you need to disable auto-update. One workaround is to patch the |
This is fixed. |
testing #27456:
I was running the Automated Smoke Test with an older version of VS Code.
But I was not seeing the expected improvement because VS Code auto updates itself while running the Automated Smoke Tests.
I suggest to disable the auto updating while running the Automated Smoke Test.
The text was updated successfully, but these errors were encountered: