Commit a3b12ea
internal/xcontext: avoid assumptions about test timing in TestDetach
The test previously assumed that a 500ms sleep is sufficient for a
200ms timeout to trigger. On a heavily loaded CI machine, that
assumption may not always hold — but it doesn't seem necessary for the
properties under test anyway.
Fixes #61272.
Change-Id: Iaf88a39ec06d87731769acdee66847a5e9404dc0
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/517296
Reviewed-by: Michael Matloob <[email protected]>
Run-TryBot: Bryan Mills <[email protected]>
Auto-Submit: Bryan Mills <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
kokoro-CI: kokoro <[email protected]>1 parent c3163ea commit a3b12ea
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| |||
0 commit comments