Commit 32cec11
gopls/internal/test/integration: fix race in TestGCDetails_Toggle
The AfterChange predicate is insufficient for awaiting the GC details
command. We must await the specific diagnosis of GC details.
Fix the predicate, and update the documentation for AfterChange to more
clearly spell out what it awaits.
Fixes golang/go#67428
Change-Id: I4923a4dac773f2c953a21bf026cadca4b9370ef3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/586878
Reviewed-by: Alan Donovan <[email protected]>
Auto-Submit: Robert Findley <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>1 parent c3aae99 commit 32cec11
File tree
2 files changed
+16
-8
lines changed- gopls/internal/test/integration
- codelens
2 files changed
+16
-8
lines changedLines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
346 | | - | |
347 | | - | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
348 | 353 | | |
349 | 354 | | |
350 | 355 | | |
| |||
0 commit comments