Skip to content

Commit 50d4949

Browse files
committed
galera: fixes for mtr test for performance schema
1 parent c43db43 commit 50d4949

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mysql-test/suite/galera/t/galera_performance_schema.test

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
--source include/galera_cluster.inc
66
--source include/have_perfschema.inc
77

8+
--let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
9+
--source include/wait_condition.inc
10+
811
use performance_schema;
912

1013
--vertical_results
@@ -22,6 +25,7 @@ insert into t1 values (1),(2);
2225
use performance_schema;
2326
select name from mutex_instances where name like 'wait/synch/mutex/sql/LOCK_wsrep%' order by name;
2427
select name from cond_instances where name like 'wait/synch/cond/sql/COND_wsrep%' order by name;
28+
2529
# Whenever a node fails to apply an event on a slave node, the database server creates a
2630
# special binary log file of the event in the data directory. The naming convention the
2731
# node uses for the filename is GRA_*.log.
@@ -55,4 +59,3 @@ CALL mtr.add_suppression("Slave SQL: Error 'Table 't2' already exists' on query"
5559
use test;
5660
drop table t1;
5761
drop table t2;
58-

0 commit comments

Comments
 (0)