X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fust%2Fhigh-throughput%2Frun;h=05f8e85eab4c9f1be5effb6d8ab408b2f68ae2c8;hb=a73616a493bb1214afd08d3b23975748b03bd713;hp=bc30c8399935a4820416c308eb76ab920c5453c0;hpb=e72d66a658231b37d7dc1525ed5c2e5e9a3f0668;p=lttng-tools.git diff --git a/tests/ust/high-throughput/run b/tests/ust/high-throughput/run index bc30c8399..05f8e85ea 100755 --- a/tests/ust/high-throughput/run +++ b/tests/ust/high-throughput/run @@ -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