Commit 7071a64
David Roberts
[ML] Make logger test more robust to slow VMs (elastic#101)
The non-ASCII logging test could hang indefinitely if the VM it
was running on stalled for 200ms before reconfiguring the logger
to use the test pipe.
This change makes it more robust. A stall of up to 5 seconds is
now tolerated, but with checks every 50ms to avoid slowing the
test down.1 parent 1ee3981 commit 7071a64
1 file changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
158 | 165 | | |
159 | 166 | | |
160 | 167 | | |
| |||
0 commit comments