Commit 86c0d69
committed
test: deflake http-server-request-timeout test
parallel/http-server-request-timeouts-mixed test was sometimes failing
due to insufficient tolerance between the connection timeout checking
interval, and the expected timeout specified in the test.
The checking interval was 500ms, and the request was checked for
timeout exactly 500ms after the request was expected to timeout.
This led to a timing condition where the next check would occur
slightly after the request was expected to timeout.
This change makes the checking interval more frequent, and decouples
the timeout for the check from the checking interval, otherwise the
issue would persist.
fixes: #434651 parent f136e7e commit 86c0d69
1 file changed
+4
-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 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | | - | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
0 commit comments