X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fstreaming%2Ftest_high_throughput_limits;h=f3885a84266448ab8b3b92754ea38ca45ca7f73e;hb=7e0cc23bbca1f5102cae78a7cabe48d8ef947366;hp=7c253ba84755d1ebb2aa44d67dd0e3d85644af26;hpb=d346ccad757068a5df142710ab5895f6ee93082b;p=lttng-tools.git diff --git a/tests/regression/tools/streaming/test_high_throughput_limits b/tests/regression/tools/streaming/test_high_throughput_limits index 7c253ba84..f3885a842 100755 --- a/tests/regression/tools/streaming/test_high_throughput_limits +++ b/tests/regression/tools/streaming/test_high_throughput_limits @@ -35,8 +35,6 @@ NUM_TESTS=112 source $TESTDIR/utils/utils.sh -print_test_banner "$TEST_DESC" - if [ ! -x "$CURDIR/$BIN_NAME" ]; then BAIL_OUT "No UST nevents binary detected." fi @@ -84,14 +82,6 @@ function create_lttng_session_with_uri ok $? "Create session with uri $uri" } -function enable_lttng_consumer -{ - uri=$1 - # Create session with custom URI - $TESTDIR/../src/bin/lttng/$LTTNG_BIN enable-consumer -u $uri >/dev/null 2>&1 - ok $? "Enable consumer with uri $uri" -} - function run_apps { for i in `seq 1 $NR_APP_ITER`; do @@ -115,7 +105,6 @@ function test_high_throughput { NETWORK_URI="net://localhost" create_lttng_session_with_uri $SESSION_NAME $NETWORK_URI - enable_lttng_consumer $NETWORK_URI enable_ust_lttng_event $SESSION_NAME $EVENT_NAME start_lttng_tracing $SESSION_NAME run_apps @@ -171,6 +160,8 @@ function interrupt_cleanup() plan_tests $NUM_TESTS +print_test_banner "$TEST_DESC" + if [ "$(id -u)" == "0" ]; then isroot=1 else