Fix: increase wait time for UST high-throughput test
[lttng-tools.git] / tests / ust / high-throughput / run
index bc30c8399935a4820416c308eb76ab920c5453c0..05f8e85eab4c9f1be5effb6d8ab408b2f68ae2c8 100755 (executable)
@@ -28,7 +28,7 @@ echo -e "\n-------------------------------------------"
 echo -e "UST tracer - Testing high events throughput"
 echo -e "-------------------------------------------"
 
-if [ ! -e "$CURDIR/$BIN_NAME" ]; then
+if [ ! -x "$CURDIR/$BIN_NAME" ]; then
        echo -e "No UST nevents binary detected. Passing."
        exit 0
 fi
@@ -48,8 +48,9 @@ for i in `seq 1 $NR_ITER`; do
        ./$CURDIR/$BIN_NAME & >/dev/null 2>&1
 done
 
-echo "Waiting for all tracing to settle"
-sleep 5
+echo "Waiting for all tracing to settle (7 secs)"
+echo "Warning: this arbitrary time can make the test fail on slower system"
+sleep 7
 
 stop_tracing $SESSION_NAME
 destroy_lttng_session $SESSION_NAME
This page took 0.033732 seconds and 4 git commands to generate.