Skip to content

Commit 143ffa3

Browse files
committed
BUG#26306357: MTR SOMETIME DOES NOT WRITE TEST NAME TO THE LOGS ON WINDOWS
Workaround for BUG#26306357.
1 parent d672386 commit 143ffa3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--no-console --log_error=$MYSQLTEST_VARDIR/tmp/gr_applier_error.2.err

rapid/plugin/group_replication/tests/mtr/t/gr_applier_error.test

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ INSERT INTO t1 VALUES (1);
6969
--echo #
7070
--echo # Step-6: Grep for the expected error in server log.
7171
--echo #
72-
--let $assert_file= $MYSQLTEST_VARDIR/log/mysqld.2.err
73-
--let $assert_only_after = CURRENT_TEST: group_replication.gr_applier_error
72+
--let $assert_file= $MYSQLTEST_VARDIR/tmp/gr_applier_error.2.err
7473
--let $assert_count = 1
7574
--let $assert_select = failed executing transaction '.*'; Could not execute Write_rows event on table test.t1; Duplicate entry '1' for key 'PRIMARY', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY, Error_code: 1062
7675
--let $assert_text = Found the expected error in group_replication_applier channel.

0 commit comments

Comments
 (0)