X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fstreaming%2Ftest_ust;h=480717515b49d3add63d213adee981ecfd06a053;hp=4c7ac976f870abc8029b4ddc5d5bbb1b076de6b9;hb=c76133340787e9dd20ce56fdb9a5a6f4cbfe0067;hpb=94dab75b56f0bcfa8389c6befe3d4be3fbb3c75e diff --git a/tests/regression/tools/streaming/test_ust b/tests/regression/tools/streaming/test_ust index 4c7ac976f..480717515 100755 --- a/tests/regression/tools/streaming/test_ust +++ b/tests/regression/tools/streaming/test_ust @@ -56,9 +56,11 @@ function test_ust_before_start () # Run 5 times with a 1 second delay $TESTAPP_BIN $NR_ITER $NR_USEC_WAIT >/dev/null 2>&1 & + #FIXME: racy missing synchro + start_lttng_tracing $SESSION_NAME # Wait for the applications started in background - wait ${!} + wait stop_lttng_tracing $SESSION_NAME destroy_lttng_session $SESSION_NAME @@ -74,8 +76,13 @@ function test_ust_after_start () # Run 5 times with a 1 second delay $TESTAPP_BIN $NR_ITER $NR_USEC_WAIT >/dev/null 2>&1 + #FIXME: racy missing synchro + stop_lttng_tracing $SESSION_NAME destroy_lttng_session $SESSION_NAME + + # Wait for the applications started in background + wait } plan_tests $NUM_TESTS