From 9d4e06c132c6bb84ee9014c171dda6f1498af0a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Tue, 30 May 2017 15:48:23 +0300 Subject: [PATCH] Wait for all connections to close Added a small delay to tests that flood MaxScale with large amounts of connections which then proceed to check whether MaxScale accepts connections. --- maxscale-system-test/backend_auth_fail.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/maxscale-system-test/backend_auth_fail.cpp b/maxscale-system-test/backend_auth_fail.cpp index adc0ed3b1..e1504821d 100644 --- a/maxscale-system-test/backend_auth_fail.cpp +++ b/maxscale-system-test/backend_auth_fail.cpp @@ -31,7 +31,10 @@ int main(int argc, char** argv) } } + // Wait for the connections to clean up Test->stop_timeout(); + sleep(5); + Test->check_maxscale_alive(); int rval = Test->global_result; delete Test;