diff options
Diffstat (limited to 'tests/test_multiprocessing.c')
-rw-r--r-- | tests/test_multiprocessing.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/test_multiprocessing.c b/tests/test_multiprocessing.c index cd037d0..f59fa7a 100644 --- a/tests/test_multiprocessing.c +++ b/tests/test_multiprocessing.c @@ -2,9 +2,12 @@ static struct MultiProcessingPool *pool; char *commands[] = { - "true", - "uname -a", - "/bin/echo hello world", + "sleep 1; true", + "sleep 2; uname -a", + "sleep 3; /bin/echo hello world", + "sleep 4; true", + "sleep 5; uname -a", + "sleep 6; /bin/echo hello world", }; void test_mp_pool_init() { @@ -120,4 +123,4 @@ int main(int argc, char *argv[]) { }; STASIS_TEST_RUN(tests); STASIS_TEST_END_MAIN(); -}
\ No newline at end of file +} |