Commit 189fa17
committed
test: increase spawn test child timeout to 30 seconds
Example CI failure:
3/157 Test #3: mptest ...............................***Failed 1.06 sec
[ TEST ] spawn_tests.cpp:44: SpawnProcess does not run callback in child
./ipc/libmultiprocess/test/mp/test/spawn_tests.cpp:108: failed: expected exited; Timeout waiting for child process to exit
stack: bf2ed1 cc4091 cc4545 d817f9 d82ba3 bf220b ee33f4b9 ee33f555
./ipc/libmultiprocess/test/mp/test/spawn_tests.cpp:109: failed: expected WIFEXITED(status) && WEXITSTATUS(status) == 0
stack: bf2e03 cc4091 cc4545 d817f9 d82ba3 bf220b ee33f4b9 ee33f555
[ FAIL ] spawn_tests.cpp:44: SpawnProcess does not run callback in child (1051610 μs)
[ TEST ] test.cpp:124: Call FooInterface methods
[ PASS ] test.cpp:124: Call FooInterface methods (3744 μs)
[ TEST ] test.cpp:216: Call IPC method after client connection is closed
[ PASS ] test.cpp:216: Call IPC method after client connection is closed (363 μs)
[ TEST ] test.cpp:233: Calling IPC method after server connection is closed
[ PASS ] test.cpp:233: Calling IPC method after server connection is closed (346 μs)
[ TEST ] test.cpp:250: Calling IPC method and disconnecting during the call
[ PASS ] test.cpp:250: Calling IPC method and disconnecting during the call (354 μs)
[ TEST ] test.cpp:270: Calling IPC method, disconnecting and blocking during the call
[ PASS ] test.cpp:270: Calling IPC method, disconnecting and blocking during the call (554 μs)
[ TEST ] test.cpp:319: Make simultaneous IPC calls on single remote thread
[ PASS ] test.cpp:319: Make simultaneous IPC calls on single remote thread (741 μs)
6 test(s) passed
1 test(s) failed
Fixes bitcoin/bitcoin#349751 parent 70f632b commit 189fa17
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
94 | 96 | | |
95 | 97 | | |
96 | 98 | | |
97 | | - | |
| 99 | + | |
98 | 100 | | |
99 | | - | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
0 commit comments