summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/t/pxc-421.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/galera/t/pxc-421.test')
-rw-r--r--mysql-test/suite/galera/t/pxc-421.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/suite/galera/t/pxc-421.test b/mysql-test/suite/galera/t/pxc-421.test
index 8a360b12f4c..381f9bb4494 100644
--- a/mysql-test/suite/galera/t/pxc-421.test
+++ b/mysql-test/suite/galera/t/pxc-421.test
@@ -31,6 +31,7 @@ INSERT INTO t1 VALUES (3);
--eval SET GLOBAL wsrep_cluster_address = '$wsrep_cluster_address_orig';
--enable_query_log
+set SESSION wsrep_sync_wait=0;
--source include/wait_until_connected_again.inc
--source include/galera_wait_ready.inc
@@ -53,8 +54,12 @@ show global variables like 'wsrep_slave_threads';
--eval SET GLOBAL wsrep_slave_threads = $wsrep_slave_2
SELECT COUNT(*) FROM t1;
+SET GLOBAL auto_increment_offset = 2;
+
--connection node_1
SELECT COUNT(*) FROM t1;
show global variables like 'wsrep_slave_threads';
--eval SET GLOBAL wsrep_slave_threads = $wsrep_slave_1
DROP TABLE t1;
+
+SET GLOBAL auto_increment_offset = 1;