Commit fa1bd8a
committed
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 <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>1 parent ea1c220 commit fa1bd8a
File tree
2 files changed
+35
-9
lines changed- extension
- src
- test/integration
2 files changed
+35
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | | - | |
392 | 390 | | |
393 | 391 | | |
394 | | - | |
| 392 | + | |
395 | 393 | | |
396 | 394 | | |
397 | 395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
968 | 978 | | |
969 | 979 | | |
970 | 980 | | |
| |||
979 | 989 | | |
980 | 990 | | |
981 | 991 | | |
982 | | - | |
| 992 | + | |
983 | 993 | | |
984 | 994 | | |
985 | 995 | | |
| |||
989 | 999 | | |
990 | 1000 | | |
991 | 1001 | | |
| 1002 | + | |
| 1003 | + | |
992 | 1004 | | |
993 | 1005 | | |
994 | 1006 | | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
| 1007 | + | |
1000 | 1008 | | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
1001 | 1029 | | |
1002 | 1030 | | |
1003 | 1031 | | |
| |||
0 commit comments