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.
This commit is contained in:
Markus Mäkelä
2019-11-04 08:39:10 +02:00
parent a1e8287265
commit 3bb87d3dc3

View File

@ -333,7 +333,7 @@ public:
* @param intervals The number of monitor intervals to wait * @param intervals The number of monitor intervals to wait
* @param m Number of Maxscale node * @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 * @brief use_valrind if true Maxscale will be executed under Valgrind