revision-id: e949b2d4abac99ffbc68bfd8c39a74e30caa3902 (mariadb-10.1.43-29-ge949b2d4aba) parent(s): 42bad56aab25db4a05c676ba99290949ad4e1c34 author: Sujatha committer: Sujatha timestamp: 2019-12-06 19:58:12 +0530 message: MDEV-20959: binlog.binlog_parallel_replication_marks_row fails in buildbot with wrong result Problem: ======= Test "binlog.binlog_parallel_replication_marks_row" fails sporadically due to result length mismatch. Analysis: ========= Test generates a binary log and it looks for certain words within the binary log file and prints them. For example word like "GTID,BEGIN,COMMIT ...". Binary log output contains base64 encoded characters. Occasionally the encoded characters match with the above words and results in test failure. +XwoFWxMBAAAALgAAAGEDAAAAAB8AAAAAAAEABHRlc3QAAnQxAAIDAwACFGTIDQ== +AAAAAAAAAAAEEwQADQgICAoKCgGTIDw9 Fix: === Improve the regular expression to match exact words. --- mysql-test/include/binlog_parallel_replication_marks.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/include/binlog_parallel_replication_marks.test b/mysql-test/include/binlog_parallel_replication_marks.test index 4e673bd30c3..6e22c7dd75e 100644 --- a/mysql-test/include/binlog_parallel_replication_marks.test +++ b/mysql-test/include/binlog_parallel_replication_marks.test @@ -79,7 +79,7 @@ while (<F>) { s/end_log_pos \d+/end_log_pos #/; s/table id \d+/table id #/; s/mapped to number \d+/mapped to number #/; - print if /GTID|BEGIN|COMMIT|Table_map|Write_rows|Update_rows|Delete_rows|generated by server|40005 TEMPORARY/; + print if /\b(GTID|BEGIN|COMMIT|Table_map|Write_rows|Update_rows|Delete_rows|generated by server|40005 TEMPORARY)\b/; } close F; EOF