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 golang/vscode-go#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>
diff --git a/test/integration/goDebug.test.ts b/test/integration/goDebug.test.ts
index 473fa11..9cfece7 100644
--- a/test/integration/goDebug.test.ts
+++ b/test/integration/goDebug.test.ts
@@ -1104,15 +1104,22 @@
]);
}
- test('should set breakpoints during next', async () => {
- setBreakpointsDuringStep(async () => {
+ test('should set breakpoints during next', async function () {
+ if (isDlvDap && dlvDapSkipsEnabled) {
+ this.skip(); // Skipped due to github.com/golang/vscode-go/issues/1390
+ }
+ await setBreakpointsDuringStep(async () => {
const nextResponse = await dc.nextRequest({ threadId: 1 });
assert.ok(nextResponse.success);
});
});
- test('should set breakpoints during step out', async () => {
- setBreakpointsDuringStep(async () => {
+ test('should set breakpoints during step out', async function () {
+ if (isDlvDap && dlvDapSkipsEnabled) {
+ this.skip(); // Skipped due to github.com/golang/vscode-go/issues/1390
+ }
+
+ await setBreakpointsDuringStep(async () => {
const stepOutResponse = await dc.stepOutRequest({ threadId: 1 });
assert.ok(stepOutResponse.success);
});