From ef53083def8b65701eaebdfd417c9d9e682b07ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 29 Sep 2016 19:35:01 -0400 Subject: [PATCH] Test fix: set app and network socket timeouts to unlimited MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- tests/utils/utils.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index c59442b22..aaac8c67d 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -35,10 +35,12 @@ 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. +# We set the default UST register timeout and network and app socket 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 +export LTTNG_NETWORK_SOCKET_TIMEOUT=-1 +export LTTNG_APP_SOCKET_TIMEOUT=-1 # We set the default lttng-sessiond path to /bin/true to prevent the spawning # of a daemonized sessiond. This is necessary since 'lttng create' will spawn -- 2.34.1