Fix: add delay before validating apps in test nproc
authorDavid Goulet <dgoulet@efficios.com>
Tue, 20 Mar 2012 19:33:10 +0000 (15:33 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 20 Mar 2012 19:33:10 +0000 (15:33 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/ust-nprocesses/run

index 20f769afdefcec9facfe7a88ca56da5a00eefcec..ae49931f814f401110f43cce6fd0f1dfc1f8526f 100755 (executable)
@@ -43,7 +43,9 @@ do
        ./$CURDIR/$TEST_BIN_NAME 1000 >/dev/null 2>&1 &
 done
 
        ./$CURDIR/$TEST_BIN_NAME 1000 >/dev/null 2>&1 &
 done
 
-echo -n "Validating registered apps: "
+echo -n "Validating registered apps in 3 seconds..."
+
+sleep 3
 
 listing=$($TESTDIR/../src/bin/lttng/$LTTNG_BIN list -u)
 reg_app_count=$(echo -n $listing | sed "s/$TEST_BIN_NAME/$TEST_BIN_NAME\n/g" | grep "$TEST_BIN_NAME" | wc -l)
 
 listing=$($TESTDIR/../src/bin/lttng/$LTTNG_BIN list -u)
 reg_app_count=$(echo -n $listing | sed "s/$TEST_BIN_NAME/$TEST_BIN_NAME\n/g" | grep "$TEST_BIN_NAME" | wc -l)
This page took 0.024987 seconds and 4 git commands to generate.