Fix: increase wait time for UST high-throughput test
authorDavid Goulet <dgoulet@efficios.com>
Tue, 10 Apr 2012 17:45:46 +0000 (13:45 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 10 Apr 2012 17:49:18 +0000 (13:49 -0400)
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 <dgoulet@efficios.com>
tests/ust/high-throughput/run

index a97d2756664550795e38a25c6f87210a0725d5ae..05f8e85eab4c9f1be5effb6d8ab408b2f68ae2c8 100755 (executable)
@@ -48,8 +48,9 @@ for i in `seq 1 $NR_ITER`; do
        ./$CURDIR/$BIN_NAME & >/dev/null 2>&1
 done
 
        ./$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
 
 stop_tracing $SESSION_NAME
 destroy_lttng_session $SESSION_NAME
This page took 0.02502 seconds and 4 git commands to generate.