Refactor: test: wrapper for enable_ust_lttng_event
[lttng-tools.git] / tests / regression / tools / health / test_thread_ok
index 59b3f57647b90e3f6e0c77ec863dc0faf2cafee9..62be3bac32196ee86cab909a11f49e12f89c10ca 100755 (executable)
@@ -79,7 +79,7 @@ function test_thread_ok
 
        diag "With UST consumer daemons"
        create_lttng_session_no_output $SESSION_NAME
-       enable_ust_lttng_event $SESSION_NAME $UST_EVENT_NAME $CHANNEL_NAME
+       enable_ust_lttng_event_ok $SESSION_NAME $UST_EVENT_NAME $CHANNEL_NAME
        start_lttng_tracing $SESSION_NAME
        destroy_lttng_session $SESSION_NAME
 
@@ -110,7 +110,7 @@ function test_thread_ok
        report_errors
 
        # Wait
-       diag "Check after running for 30 seconds"
+       diag "Check after running for ${SLEEP_TIME} seconds"
        sleep ${SLEEP_TIME}
 
        # Check health status
This page took 0.024003 seconds and 4 git commands to generate.