diff options
author | Elena Stepanova <elenst@montyprogram.com> | 2017-07-06 00:45:43 +0300 |
---|---|---|
committer | Elena Stepanova <elenst@montyprogram.com> | 2017-07-06 00:45:43 +0300 |
commit | ec76945daca3ef099ba7f5289b986a8360ede7c5 (patch) | |
tree | b03df88848e915c65a09a1c96df6a019c2638a2e /mysql-test/include | |
parent | 4693f01f57406f86a26b7ccc605522dac6a9abb2 (diff) | |
download | mariadb-git-ec76945daca3ef099ba7f5289b986a8360ede7c5.tar.gz |
MDEV-13248 binlog.binlog_parallel_replication_marks_row fails in buildbot
The test did not handle correctly possible difference in system
timezone. The fix is to remove non-functional setting of local
time_zone and instead allow timestamp replacement to work with
any date/time
Diffstat (limited to 'mysql-test/include')
-rw-r--r-- | mysql-test/include/binlog_parallel_replication_marks.test | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mysql-test/include/binlog_parallel_replication_marks.test b/mysql-test/include/binlog_parallel_replication_marks.test index 1b6fbe26142..ff35875aece 100644 --- a/mysql-test/include/binlog_parallel_replication_marks.test +++ b/mysql-test/include/binlog_parallel_replication_marks.test @@ -7,10 +7,6 @@ RESET MASTER; --source include/wait_for_binlog_checkpoint.inc -set time_zone="+02:00"; ---let $stable_stamp= `SELECT UNIX_TIMESTAMP("2020-01-21 15:32:22")` -eval set timestamp=$stable_stamp; - CREATE TABLE t1 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB; --let $binlog_pos1=query_get_value(SHOW MASTER STATUS, Position, 1) /* GTID */ INSERT INTO t1 VALUES (1,0); @@ -42,7 +38,6 @@ CREATE TABLE t1 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB; /* GTID */ INSERT INTO t1 VALUES (9, 5, 1); /* GTID */ COMMIT; connect (tmp_con,localhost,root,,); -eval set timestamp=$stable_stamp; /* GTID */ INSERT INTO t1 VALUES (10, 6, 0); /* GTID */ BEGIN; /* GTID */ CREATE TEMPORARY TABLE t5 (a INT PRIMARY KEY) ENGINE=InnoDB; @@ -72,7 +67,7 @@ my $file= $ENV{'OUTPUT_FILE'}; open F, "<", $file or die "Unable to open file '$file': $!\n"; while (<F>) { - s/^#\d+ \d+:\d+:\d+ /# /; + s/^#\d+ +\d+:\d+:\d+ /# /; s/GTID \d+-\d+-\d+/GTID #-#-#/; s/end_log_pos \d+/end_log_pos #/; s/table id \d+/table id #/; |