[lttng-dev] [PATCH lttng-tools] Fix: set UST register timeout to -1 as test default

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Apr 28 10:16:37 EDT 2015

On busy systems, it's possible to spuriously hit the default 3 seconds
timeout for UST registration to sessiond, thus causing tests to be flaky
on those systems.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
 tests/utils/utils.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh
index c3d8bd4..5f86ece 100644
--- a/tests/utils/utils.sh
+++ b/tests/utils/utils.sh
@@ -27,6 +27,11 @@ KERNEL_MAJOR_VERSION=2
+# 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.
 source $TESTDIR/utils/tap/tap.sh
 function print_ok ()

More information about the lttng-dev mailing list