Re-enable unit test with retries

Fixes #188375
This commit is contained in:
Daniel Imms 2023-08-02 07:09:26 -07:00
parent c76cbcb6cd
commit fa4b3238c9
No known key found for this signature in database
GPG key ID: 7116259D505CA628

View file

@ -387,7 +387,12 @@ import { assertNoRpc, poll } from '../utils';
});
suite('window.onDidWriteTerminalData', () => {
test.skip('should listen to all future terminal data events', (done) => {
test('should listen to all future terminal data events', function (done) {
// This test has been flaky in the past but it's not clear why, possibly because
// events from previous tests polluting the event recording in this test. Retries
// was added so we continue to have coverage of the onDidWriteTerminalData API.
this.retries(3);
const openEvents: string[] = [];
const dataEvents: { name: string; data: string }[] = [];
const closeEvents: string[] = [];