tests: Reduce sleep in regression/tools/clear/test_ust
[lttng-tools.git] / tests / regression / tools / clear / test_ust
index 27af7becac06987a5eb149494ade2cbb167f497d..a73c80af229e50cc78523322dc2b8c3ace9aaef4 100755 (executable)
@@ -270,7 +270,7 @@ function test_ust_basic_streaming_live_viewer ()
        local evcount=0
        while [ $evcount -ne 10 ]; do
                evcount=$(cat $bt_output_path | wc -l)
-               sleep 0.5
+               sleep 0.1
        done
        pass "Live viewer read $evcount events, expect 10"
 
@@ -370,7 +370,7 @@ function test_ust_streaming_live_viewer_new_metadata_after_clear ()
        local evcount=0
        while [ $evcount -ne 10 ]; do
                evcount=$(wc -l < "$bt_output_path")
-               sleep 0.5
+               sleep 0.1
        done
        pass "Live viewer read $evcount events, expect 10"
 
@@ -389,7 +389,7 @@ function test_ust_streaming_live_viewer_new_metadata_after_clear ()
        local evcount=0
        while [ $evcount -ne 12 ]; do
                evcount=$(wc -l < "$bt_output_path")
-               sleep 0.5
+               sleep 0.1
        done
        pass "Live viewer read $evcount events, expect 12"
 
@@ -641,7 +641,7 @@ function test_ust_local_snapshot_per_pid ()
 
        # Continue only when there is only the last event remaining.
        while [ ! -f "${file_sync_before_last_touch}" ]; do
-               sleep 0.5
+               sleep 0.1
        done
 
        # Take a first snapshot and validate that the events are present.
@@ -671,7 +671,7 @@ function test_ust_local_snapshot_per_pid ()
        # Wait for the before exit sync point. This ensure that we went over the
        # last tracepoint.
        while [ ! -f "${file_sync_before_exit_touch}" ]; do
-               sleep 0.5
+               sleep 0.1
        done
 
        # Make sure the snapshot contains the last event.
This page took 0.023125 seconds and 4 git commands to generate.