You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky integration test: Terminal window.onDidWriteTerminalData should listen to all future terminal data events #112446
1) vscode API - terminal Terminal window.onDidWriteTerminalData should listen to all future terminal data events:
Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
Daniel Imms (@Tyriar), Megan Rogge (@meganrogge): I filed a separate window.onDidWriteTerminalData issue. I originally commented here but as this one only appears to be a flaky integration test I created a new issue: #113641
Daniel Imms (@Tyriar) we are pushing to increase reliability of our builds, it would be very helpful if we could fix this. My gut feeling is that this might be caused by this timeout. For the server side spawned terminals, to avoid missing events we ended up splitting creation and starting into two distinct steps/calls. This ensures that a terminal is created, the other side receives its id, the other side can bind event listeners and only afterwards the terminal is actually started.
Activity
alexr00 commentedon Dec 14, 2020
Hit again: https://dev.azure.com/vscode/VSCode/_build/results?buildId=59984&view=logs&j=2d2b3007-3c5c-5840-9bb0-2b1ea49925f3&t=3bac50a7-8823-5ee7-170b-03223d1bbab7
jramsay commentedon Dec 31, 2020
Daniel Imms (@Tyriar), Megan Rogge (@meganrogge): I filed a separate window.onDidWriteTerminalData issue. I originally commented here but as this one only appears to be a flaky integration test I created a new issue: #113641
alexdima commentedon Jan 4, 2021
Just saw these tests fail again today, on Windows: https://dev.azure.com/vscode/VSCode/_build/results?buildId=61153&view=logs&j=2d2b3007-3c5c-5840-9bb0-2b1ea49925f3&t=e5339641-12bd-5520-314f-0b8fa6bdcd9f&l=366
Daniel Imms (@Tyriar) we are pushing to increase reliability of our builds, it would be very helpful if we could fix this. My gut feeling is that this might be caused by this timeout. For the server side spawned terminals, to avoid missing events we ended up splitting creation and starting into two distinct steps/calls. This ensures that a terminal is created, the other side receives its id, the other side can bind event listeners and only afterwards the terminal is actually started.
cc João Moreno (@joaomoreno)
alexdima commentedon Jan 5, 2021
Just happened again on Windows: https://dev.azure.com/vscode/VSCode/_build/results?buildId=61188&view=logs&j=2d2b3007-3c5c-5840-9bb0-2b1ea49925f3&t=e5339641-12bd-5520-314f-0b8fa6bdcd9f&l=360
alexdima commentedon Jan 6, 2021
Happened again on Windows: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=99439&view=logs&j=672276a2-8d3a-5fab-615d-090c51352f92&t=821d316a-2fa3-581f-c34c-57a961b8e328&l=1625
alexdima commentedon Jan 6, 2021
And again on Windows: https://dev.azure.com/vscode/VSCode/_build/results?buildId=61397&view=logs&j=2d2b3007-3c5c-5840-9bb0-2b1ea49925f3&t=e5339641-12bd-5520-314f-0b8fa6bdcd9f&l=1466
Fixes #112446: Avoid timeouts in mirroring terminals to the extension…