Commit 91f7ae5
committed
compattest: log connstate changes if ctx not done
The tests on PR#318 flaked because of the log-after-test-completion
race-detection.
Avoid logging if the context is canceled. (this won't 100% eliminate the
race, but it'll bring it down to a super-rare race)1 parent 2b339d2 commit 91f7ae5
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
113 | 120 | | |
114 | 121 | | |
115 | 122 | | |
| |||
0 commit comments