Tests: getcpu_override: use event delay when launching with wrapper
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 12 Nov 2015 23:56:29 +0000 (18:56 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 12 Nov 2015 23:56:29 +0000 (18:56 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/ust/getcpu-override/test_getcpu_override

index 3e8635cd76af6e7e920d52311ccf1419c442bab1..081099e798d5a99fd816b094ba5e044c1bd94ef1 100755 (executable)
@@ -25,6 +25,7 @@ TESTAPP_NAME="gen-ust-events"
 TESTAPP_BIN="$TESTAPP_PATH/$TESTAPP_NAME/$TESTAPP_NAME"
 TESTAPP_WRAPPER="run-getcpu-override"
 NUM_EVENT=256
+EVENT_WAIT_USEC=1
 EVENT_NAME="tp:tptest"
 
 NUM_TESTS=20
@@ -58,14 +59,14 @@ fi
 run_app()
 {
        diag "Launching app without getcpu-plugin wrapper"
-       $TESTAPP_BIN $NUM_EVENT 1
+       $TESTAPP_BIN $NUM_EVENT $EVENT_WAIT_USEC
        ok $? "Application without wrapper done"
 }
 
 run_getcpu_plugin_app()
 {
        diag "Launching app with getcpu-plugin wrapper"
-       $CURDIR/$TESTAPP_WRAPPER $TESTAPP_BIN $NUM_EVENT
+       $CURDIR/$TESTAPP_WRAPPER $TESTAPP_BIN $NUM_EVENT $EVENT_WAIT_USEC
        ok $? "Application with wrapper done"
 }
 
This page took 0.025774 seconds and 4 git commands to generate.