You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extension/test/integration: fix timeout flakiness caused by the dlv command
The flakiness is caused by dlv substitute-path-guess-helper failed to
return within 2 seconds.
Using beforeEach and afterEach to create sandboxes and cleanup.
Instead of executing the dlv command, mock the guess function to make it
reliable.
Change-Id: Ib73aadc2d04d3d2f0c692def1565715869c6e9cf
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/694096
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Copy file name to clipboardExpand all lines: extension/src/goDebugConfiguration.ts
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -387,11 +387,9 @@ export class GoDebugConfigurationProvider implements vscode.DebugConfigurationPr
387
387
/**
388
388
* Calls `dlv substitute-path-guess-helper` to get a set of parameters used by Delve to guess the substitutePath configuration after also examining the executable.
389
389
*
390
-
* Exported for testing.
391
-
*
392
390
* See https://github.com/go-delve/delve/blob/d5fb3bee427202f0d4b1683bf743bfd2adb41757/service/debugger/debugger.go#L2466
0 commit comments