Commit 884a05c
committed
extension/test/integration: make debug tests less verbose
Disable DAP trace logging by default.
Runnint tests with "DEBUG=1" will enable trace streaming to console.
In case of failure, tests should print the buffered trace any way.
And, provide a bogus process ID when testing for the local attach mode
configuration. Missing process ID causes the extension to show a
quick pick window (so users can pick processes). That is not handled
during tests so results in unhandled promise/rejection message.
Change-Id: Ie67240d4dae7c775fff19ac5a4687127b7b0d36a
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/619777
Reviewed-by: Hongxiang Jiang <[email protected]>
kokoro-CI: kokoro <[email protected]>
Commit-Queue: Hyang-Ah Hana Kim <[email protected]>1 parent c94bf09 commit 884a05c
File tree
2 files changed
+13
-20
lines changed- extension/test/integration
2 files changed
+13
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
190 | 193 | | |
191 | 194 | | |
192 | 195 | | |
193 | | - | |
| 196 | + | |
194 | 197 | | |
195 | 198 | | |
196 | 199 | | |
| |||
199 | 202 | | |
200 | 203 | | |
201 | 204 | | |
202 | | - | |
| 205 | + | |
203 | 206 | | |
204 | 207 | | |
205 | 208 | | |
| |||
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
213 | | - | |
| 216 | + | |
214 | 217 | | |
215 | 218 | | |
216 | 219 | | |
| |||
2099 | 2102 | | |
2100 | 2103 | | |
2101 | 2104 | | |
2102 | | - | |
2103 | | - | |
2104 | | - | |
2105 | | - | |
2106 | | - | |
2107 | | - | |
2108 | | - | |
2109 | | - | |
2110 | | - | |
2111 | | - | |
2112 | | - | |
2113 | | - | |
2114 | | - | |
| 2105 | + | |
| 2106 | + | |
2115 | 2107 | | |
2116 | | - | |
| 2108 | + | |
2117 | 2109 | | |
2118 | 2110 | | |
2119 | 2111 | | |
| |||
2277 | 2269 | | |
2278 | 2270 | | |
2279 | 2271 | | |
2280 | | - | |
| 2272 | + | |
2281 | 2273 | | |
2282 | 2274 | | |
2283 | 2275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | | - | |
| 1026 | + | |
| 1027 | + | |
1027 | 1028 | | |
1028 | 1029 | | |
1029 | 1030 | | |
| |||
0 commit comments