Commit c5c9332
committed
tests: Reduce test flakiness on macOS
On Linux systems, we use `/proc/$pid/syscall` to wait until the tracked
process is blocked in the `connect` or `accept` call we want to
interrupt. There's no analogous mechanism on macOS, so we just sleep
there. On the GitHub Actions macOS runners, sometimes this delay is not
long enough. Increase it to try to reduce test flakiness.
Signed-off-by: Matt Wozniski <godlygeek@gmail.com>1 parent 11663b8 commit c5c9332
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
86 | | - | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | | - | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| |||
0 commit comments