From 3bb87d3dc397e51fb8359ec045cb010c9953e9ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Mon, 4 Nov 2019 08:39:10 +0200 Subject: [PATCH] Change wait_for_monitor interval default to 2 At least two intervals are required to guarantee that a monitor detected an event. This should increase the stability of the tests. --- maxscale-system-test/maxscales.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxscale-system-test/maxscales.h b/maxscale-system-test/maxscales.h index 54ec92b78..d3b28f97f 100644 --- a/maxscale-system-test/maxscales.h +++ b/maxscale-system-test/maxscales.h @@ -333,7 +333,7 @@ public: * @param intervals The number of monitor intervals to wait * @param m Number of Maxscale node */ - void wait_for_monitor(int intervals = 1, int m = 0); + void wait_for_monitor(int intervals = 2, int m = 0); /** * @brief use_valrind if true Maxscale will be executed under Valgrind