summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2016-12-27 01:30:20 +0200
committerMonty <monty@mariadb.org>2017-01-11 09:18:35 +0200
commit1628a2ae27cfc8b96e4b50d85d430955625e2d88 (patch)
treef830ac93d1ab02870da7398003a93bf30362160b /mysql-test/include
parent1afb17047a61d7666d4c3d6e5fae97ec526693ba (diff)
downloadmariadb-git-1628a2ae27cfc8b96e4b50d85d430955625e2d88.tar.gz
Fixed issues found by buildbot
- MDEV-11621 rpl.rpl_gtid_stop_start fails sporadically in buildbot - MDEV-11620 rpl.rpl_upgrade_master_info fails sporadically in buildbot The issue above was probably that the build machine was overworked and the shutdown took longer than 30 resp 10 seconds, which caused MyISAM tables to be marked as crashed. Fixed by flushing myisam tables before doing a forced shutdown/kill. I also increased timeout for forced shutdown from 10 seconds to 60 seconds to fix other possible issues on slow machines. Fixed also some compiler warnings
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/rpl_stop_server.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/include/rpl_stop_server.inc b/mysql-test/include/rpl_stop_server.inc
index e1f8839dd69..978cfec1885 100644
--- a/mysql-test/include/rpl_stop_server.inc
+++ b/mysql-test/include/rpl_stop_server.inc
@@ -47,8 +47,8 @@ if ($rpl_debug)
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.$rpl_server_number.expect
# Send shutdown to the connected server and give
-# it 10 seconds to die before zapping it
-shutdown_server 10;
+# it 60 seconds to die before zapping it
+shutdown_server 60;
--source include/wait_until_disconnected.inc