Skip to content

Flaky integration test: Terminal window.onDidWriteTerminalData should listen to all future terminal data events #112446

Closed

Description

See https://github.com/microsoft/vscode/runs/1548949834#step:10:392

  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)

Activity

  1. added
    terminal
    on Dec 14, 2020
  2. jramsay commented on Dec 31, 2020

    @jramsay
    Member

    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

  3. alexdima commented on Jan 4, 2021

    @alexdima
    MemberAuthor

    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)

  4. alexdima commented on Jan 5, 2021

    @alexdima
    MemberAuthor

    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

    173 passing (48s)
    14 pending
    11 failing
      1) vscode API - terminal
      2) vscode API - terminal
      3) vscode API - terminal
      4) vscode API - terminal
      5) vscode API - terminal
      6) vscode API - terminal
      7) vscode API - terminal
      8) vscode API - terminal
      9) vscode API - terminal
      10) vscode API - terminal
      11) vscode API - terminal
    
  5. added a commit that references this issue on Jan 6, 2021
    3d88887
  6. added
    important
    on Jan 7, 2021
  7. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Jan 7, 2021
  8. locked and limited conversation to collaborators on Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

importantinsiders-releasedintegration-test-failureterminal

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions