Skip to content

Commit bf54870

Browse files
committed
Add slow markers for long running tests
1 parent 206358e commit bf54870

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

test/features/DebugSession.test.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -428,13 +428,16 @@ describe("DebugSessionFeature", () => {
428428
});
429429
});
430430

431-
describe("DebugSessionFeature E2E", () => {
431+
describe("DebugSessionFeature E2E", function() {
432+
// E2E tests can take a while to run since the debugger has to start up and attach
433+
this.slow(20000);
432434
before(async () => {
433435
// Registers and warms up the debug adapter and the PowerShell Extension Terminal
434436
await ensureEditorServicesIsConnected();
435437
});
436438

437439
it("Starts and stops a debugging session", async () => {
440+
438441
// Inspect the debug session via the started events to ensure it is correct
439442
const startDebugSession = new Promise<DebugSession>((resolve) => {
440443
const event = debug.onDidStartDebugSession((session) => {

test/features/ISECompatibility.test.ts

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ describe("ISE compatibility feature", function () {
7373
});
7474

7575
describe("Color theme interactions", function () {
76+
// These tests are slow because they change the user's theme.
77+
this.slow(3000);
7678
beforeEach(enableISEMode);
7779

7880
function assertISESettings(): void {

0 commit comments

Comments
 (0)