From: David Goulet Date: Tue, 10 Apr 2012 17:45:46 +0000 (-0400) Subject: Fix: increase wait time for UST high-throughput test X-Git-Tag: v2.1.0-rc1~154 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a73616a493bb1214afd08d3b23975748b03bd713;p=lttng-tools.git Fix: increase wait time for UST high-throughput test On slower system, this test failed due to the time period the test does for applications to at least start tracing. Add a warning on stdout telling that this is an arbitrary time and might fail on slower system. Signed-off-by: David Goulet --- diff --git a/tests/ust/high-throughput/run b/tests/ust/high-throughput/run index a97d27566..05f8e85ea 100755 --- a/tests/ust/high-throughput/run +++ b/tests/ust/high-throughput/run @@ -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