Skip to content

Commit e545b83

Browse files
committed
test/integration: disable broken tests
Fixed unintentially skipped tests setBreakpoints should set breakpoints during next should set breakpoints during step out And disabled them because the tests are broken in dlv-dap mode. Updates #1390 Change-Id: I8c429479d4e884cc21de06578ff335d433ddc939 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/306549 Trust: Hyang-Ah Hana Kim <hyangah@gmail.com> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Suzy Mueller <suzmue@golang.org>
1 parent afbc36c commit e545b83

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

test/integration/goDebug.test.ts

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,15 +1104,22 @@ const testAll = (isDlvDap: boolean) => {
11041104
]);
11051105
}
11061106

1107-
test('should set breakpoints during next', async () => {
1108-
setBreakpointsDuringStep(async () => {
1107+
test('should set breakpoints during next', async function () {
1108+
if (isDlvDap && dlvDapSkipsEnabled) {
1109+
this.skip(); // Skipped due to github.com/golang/vscode-go/issues/1390
1110+
}
1111+
await setBreakpointsDuringStep(async () => {
11091112
const nextResponse = await dc.nextRequest({ threadId: 1 });
11101113
assert.ok(nextResponse.success);
11111114
});
11121115
});
11131116

1114-
test('should set breakpoints during step out', async () => {
1115-
setBreakpointsDuringStep(async () => {
1117+
test('should set breakpoints during step out', async function () {
1118+
if (isDlvDap && dlvDapSkipsEnabled) {
1119+
this.skip(); // Skipped due to github.com/golang/vscode-go/issues/1390
1120+
}
1121+
1122+
await setBreakpointsDuringStep(async () => {
11161123
const stepOutResponse = await dc.stepOutRequest({ threadId: 1 });
11171124
assert.ok(stepOutResponse.success);
11181125
});

0 commit comments

Comments
 (0)