File tree 2 files changed +5
-9
lines changed 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,3 @@ services:
15
15
ports :
16
16
- 3307:3307
17
17
command : mysqld --log-bin=mysql-bin.log --server-id 1 --binlog-format=row --gtid_mode=on --enforce-gtid-consistency=on --log_slave_updates -P 3307
18
-
19
- percona-5.7-binlog-rows-query-events :
20
- image : percona:5.7
21
- environment :
22
- MYSQL_ALLOW_EMPTY_PASSWORD : true
23
- ports :
24
- - 3308:3308
25
- command : mysqld --log-bin=mysql-bin.log --server-id 1 --binlog-format=row --binlog-rows-query-log-events=on --gtid_mode=on --enforce-gtid-consistency=on --log_slave_updates -P 3308
Original file line number Diff line number Diff line change @@ -1005,7 +1005,11 @@ def test_parsing(self):
1005
1005
1006
1006
class TestRowsQueryLogEvents (base .PyMySQLReplicationTestCase ):
1007
1007
def setUp (self ):
1008
- super (TestRowsQueryLogEvents , self ).setUp (port = 3308 )
1008
+ super ().setUp ()
1009
+ self .execute ("SET global binlog_rows_query_log_events=1" )
1010
+
1011
+ def tearDown (self ):
1012
+ self .execute ("SET global binlog_rows_query_log_events=0" )
1009
1013
1010
1014
def test_rows_query_log_event (self ):
1011
1015
self .stream .close ()
You can’t perform that action at this time.
0 commit comments