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
Integration test failure: openTextDocument, untitled closes on save #157897
Comments
Again, could be a regression from dced70b, looks like this test failure is relatively new. One actual change from dced70b is that
Since we no longer disable the editor override here:
If there is any code in the renderer that relied on the previous behaviour, maybe that change made the tests more flaky now? |
My theory is that possibly
|
This failed again for web in: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=182276&view=logs&j=a8b516b9-5c25-5ad9-505a-b03d38bc1dad&t=b2e05f10-ada9-503f-2369-d13399289d47&l=352 Given my change is in, it looks like literally even though we have vscode/extensions/vscode-api-tests/src/singlefolder-tests/workspace.test.ts Lines 138 to 149 in 0281862
I am pushing a change to compare the URIs of the two and see what they are. |
I see no failure since, let's close until we hit this again. |
Failed again in:
This looks as if a document from a previous test run appears in our event listener here:
I guess we cannot guarantee that the event that comes in is for the closed editor, there maybe multiple. So an idea to fix this is to keep closed documents in an array for the test and try to find the one we expect: #159888 |
Failed in https://dev.azure.com/vscode/VSCode/_build/results?buildId=70964&view=logs&j=a8a6689c-5a84-59c0-482a-7dd9f21eb2d8&t=1fa6fb8d-7bb3-5acd-5778-bf99aac7f637
The text was updated successfully, but these errors were encountered: