Commit 00f12d2
test_mock_pub_sub: increase wait time in mock pub/sub test for loaded systems
The msleep(1) in test_mock_pub_sub() can cause random failures onmachines under heavy load.
As this test seems to validates compatibility between different ZMTP version and not performance,
I propose Increase the wait time to allow the state machine to properly attach the pipe after handshake.
Note to simulate the overloaded machine in local I used:
stress-ng --cpu 24 --switch 16 --timer 8 --timeout 60s &
while tests/test_mock_pub_sub
do
echo "PASS"
done1 parent 900a548 commit 00f12d2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments