1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-11504 binlog_encryption.encrypted_master_switch_to_unencrypted fails sporadically in buildbot

The reason is a simple race condition. Initially the test was meant to synchronize with master
before showing tables, but it turned out that the slave IO thread should fail by this point,
and synchronization was removed along with a server bugfix. Now added an intermediate sync
instead, to make sure that slave has replicated events before the point of failure
This commit is contained in:
Elena Stepanova
2016-12-08 17:05:01 +02:00
parent e1e1fbc501
commit 8e702bce66
2 changed files with 17 additions and 3 deletions

View File

@ -56,6 +56,8 @@ INSERT INTO table3_no_encryption SELECT NULL,NOW(),b FROM table3_no_encryption;
#####################################################
connection server_2;
start slave;
connection server_1;
connection server_2;
include/wait_for_slave_io_error.inc [errno=1236]
connection server_2;
connection server_2;