tests: Use destroy with no-wait during filter tests
[lttng-tools.git] / tests / regression / tools / filtering / test_valid_filter
index 7e764ca5d0caf10fc5ecee465dbca50ba719e932..0c7ac0bdd5e00f419063f07ac0e18922623ecb42 100755 (executable)
@@ -94,7 +94,7 @@ function test_valid_filter
        event_name="$3"
        filter="$4"
        validator="$5"
-       local trace_path=$(mktemp --tmpdir -d tmp.test_filtering_invalid_filters_trace_path.XXXXXX)
+       local trace_path=$(mktemp -d -t tmp.test_filtering_valid_filters_trace_path.XXXXXX)
 
        diag "Test valid $domain_name filter: $filter"
 
@@ -110,7 +110,7 @@ function test_valid_filter
        stop_lttng_tracing_ok $SESSION_NAME
 
        # Destroy session
-       destroy_lttng_session_ok $SESSION_NAME
+       destroy_lttng_session_ok $SESSION_NAME --no-wait
 
        stats=`"$BABELTRACE_BIN" $trace_path | $STATS_BIN --tracepoint $event_name`
 
This page took 0.026519 seconds and 4 git commands to generate.