Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit adb2011

Browse files
committedSep 23, 2023
fix: add GtidEvent check
1 parent f680a02 commit adb2011

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎pymysqlreplication/tests/test_basic.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,7 @@ def setUp(self):
17471747
only_events=(TableMapEvent,),
17481748
)
17491749
if not self.isMySQL8014AndMore():
1750-
self.skipTest("Mysql version is under 8.0.14 - pass TestOptionalMetaData")
1750+
self.skipTest("Mysql version is under 8.0.14 - pass TestColumnValueNoneSources")
17511751
self.execute("SET GLOBAL binlog_row_metadata='FULL';")
17521752

17531753
def test_get_none(self):
@@ -1789,6 +1789,7 @@ def test_get_none_invalid(self):
17891789
self.assertIsInstance(self.stream.fetchone(), RotateEvent)
17901790
self.assertIsInstance(self.stream.fetchone(), FormatDescriptionEvent)
17911791
self.assertIsInstance(self.stream.fetchone(), PreviousGtidsEvent)
1792+
self.assertIsInstance(self.stream.fetchone(), GtidEvent)
17921793
self.assertIsInstance(self.stream.fetchone(), QueryEvent)
17931794
self.assertIsInstance(self.stream.fetchone(), TableMapEvent)
17941795

0 commit comments

Comments
 (0)
Please sign in to comment.