All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH lttng-tools] Fix: set UST register timeout to -1 as test default
       [not found] <1430230597-25836-1-git-send-email-mathieu.desnoyers@efficios.com>
@ 2015-04-29 15:12 ` Jérémie Galarneau
  0 siblings, 0 replies; 2+ messages in thread
From: Jérémie Galarneau @ 2015-04-29 15:12 UTC (permalink / raw)
  To: Mathieu Desnoyers; +Cc: lttng-dev, Jeremie Galarneau


[-- Attachment #1.1: Type: text/plain, Size: 1147 bytes --]

Merged in master, 2.6 and 2.5.

Thanks!
Jérémie

On Tue, Apr 28, 2015 at 10:16 AM, Mathieu Desnoyers <
mathieu.desnoyers@efficios.com> wrote:

> 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@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
>  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 ()
> --
> 2.1.4
>
>


-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com

[-- Attachment #1.2: Type: text/html, Size: 1796 bytes --]

[-- Attachment #2: Type: text/plain, Size: 155 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH lttng-tools] Fix: set UST register timeout to -1 as test default
@ 2015-04-28 14:16 Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2015-04-28 14:16 UTC (permalink / raw)
  To: jgalar; +Cc: lttng-dev

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@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
 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 ()
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-29 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1430230597-25836-1-git-send-email-mathieu.desnoyers@efficios.com>
2015-04-29 15:12 ` [PATCH lttng-tools] Fix: set UST register timeout to -1 as test default Jérémie Galarneau
2015-04-28 14:16 Mathieu Desnoyers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.