From 24d20d2a1bcc7b7303537605c047cc86741367b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Mon, 24 Jul 2017 13:55:17 +0300 Subject: [PATCH] Increse timeouts for mxs1071_maxrows As the test does a lot of large inserts, the timeouts can be triggered at times when the test is not actually stuck but just waiting for the insert to complete. Increasing the timeout from 10 to 30 seconds should give it enough time to finish processing. --- maxscale-system-test/mxs1071_maxrows.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maxscale-system-test/mxs1071_maxrows.cpp b/maxscale-system-test/mxs1071_maxrows.cpp index c52a295b1..3f6253c5d 100644 --- a/maxscale-system-test/mxs1071_maxrows.cpp +++ b/maxscale-system-test/mxs1071_maxrows.cpp @@ -207,7 +207,7 @@ int compare_expected(TestConnections * Test, const char * sql, my_ulonglong exp_ my_ulonglong *rows = new my_ulonglong[30]; my_ulonglong i; - Test->set_timeout(10); + Test->set_timeout(30); execute_query_num_of_rows(Test->conn_rwsplit, sql, rows, &i); Test->tprintf("Result sets number is %llu\n", i); @@ -245,7 +245,7 @@ int compare_stmt_expected(TestConnections * Test, MYSQL_STMT * stmt, my_ulonglon my_ulonglong *rows = new my_ulonglong[30]; my_ulonglong i; - Test->set_timeout(10); + Test->set_timeout(30); execute_stmt_num_of_rows(stmt, rows, &i); Test->tprintf("Result sets number is %llu\n", i); @@ -290,7 +290,7 @@ int main(int argc, char *argv[]) MYSQL_STMT * stmt; TestConnections * Test = new TestConnections(argc, argv); - Test->set_timeout(10); + Test->set_timeout(30); Test->connect_rwsplit(); create_t1(Test->conn_rwsplit);