Skip to content

Commit

Permalink
Fix test failure seen in buildbot on power8.
Browse files Browse the repository at this point in the history
GTID order in @@gtid_binlog_pos depends on internal hash order,
so requires --replace_result for stable test output.
  • Loading branch information
knielsen committed Jul 11, 2014
1 parent afbb2e2 commit fd0abec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mysql-test/suite/rpl/r/rpl_gtid_until.result
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ a
include/stop_slave.inc
CREATE TABLE t3 (a INT);
DROP TABLE t3;
START SLAVE UNTIL master_gtid_pos='1-1-5,2-1-5,0-1-6';
START SLAVE UNTIL master_gtid_pos='UNTIL_CONDITION';
include/wait_for_slave_to_stop.inc
SHOW CREATE TABLE t3;
Table Create Table
Expand Down
1 change: 1 addition & 0 deletions mysql-test/suite/rpl/t/rpl_gtid_until.test
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ DROP TABLE t3;
--save_master_pos

--connection server_2
--replace_result $until_condition UNTIL_CONDITION
eval START SLAVE UNTIL master_gtid_pos='$until_condition';
--source include/wait_for_slave_to_stop.inc
SHOW CREATE TABLE t3;
Expand Down

0 comments on commit fd0abec

Please sign in to comment.