X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Futils%2Futils.sh;h=aea2de87612ea8c0881bcfad5f92da5115ec5214;hb=3a3c8bb256341ae07185da79ae4c63e9e1b97164;hp=e2cd7f881630b3013cb7e40e3990f1f18f64ee24;hpb=d96f6315f068984c2edda2ac612bacbdb2c7b0d2;p=lttng-tools.git diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index e2cd7f881..aea2de876 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -27,6 +27,11 @@ KERNEL_MAJOR_VERSION=2 KERNEL_MINOR_VERSION=6 KERNEL_PATCHLEVEL_VERSION=27 +# We set the default UST register timeout to "wait forever", so that +# basic tests don't have to worry about hitting timeouts on busy +# systems. Specialized tests should test those corner-cases. +export LTTNG_UST_REGISTER_TIMEOUT=-1 + source $TESTDIR/utils/tap/tap.sh function print_ok () @@ -311,7 +316,7 @@ function start_lttng_sessiond() else $DIR/../src/bin/lttng-sessiond/$SESSIOND_BIN --background --consumerd32-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --consumerd64-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" fi - #$DIR/../src/bin/lttng-sessiond/$SESSIOND_BIN --consumerd32-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --consumerd64-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --verbose-consumer >>/tmp/sessiond.log 2>&1 & + #$DIR/../src/bin/lttng-sessiond/$SESSIOND_BIN --background --consumerd32-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --consumerd64-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --verbose-consumer >>/tmp/sessiond.log 2>&1 status=$? ok $status "Start session daemon" fi