|
22 | 22 |
|
23 | 23 | class TestBasicBinLogStreamReader(base.PyMySQLReplicationTestCase):
|
24 | 24 | def ignoredEvents(self):
|
25 |
| - return [GtidEvent, PreviousGtidEvent] |
| 25 | + return [GtidEvent, PreviousGtidsEvent] |
26 | 26 |
|
27 | 27 | def test_allowed_event_list(self):
|
28 | 28 | self.assertEqual(len(self.stream._allowed_event_list(None, None, False)), 17)
|
@@ -522,7 +522,7 @@ def test_end_log_pos(self):
|
522 | 522 |
|
523 | 523 | class TestMultipleRowBinLogStreamReader(base.PyMySQLReplicationTestCase):
|
524 | 524 | def ignoredEvents(self):
|
525 |
| - return [GtidEvent, PreviousGtidEvent] |
| 525 | + return [GtidEvent, PreviousGtidsEvent] |
526 | 526 |
|
527 | 527 | def test_insert_multiple_row_event(self):
|
528 | 528 | query = "CREATE TABLE test (id INT NOT NULL AUTO_INCREMENT, data VARCHAR (50) NOT NULL, PRIMARY KEY (id))"
|
@@ -844,7 +844,7 @@ def test_read_query_event(self):
|
844 | 844 | query = "COMMIT;"
|
845 | 845 | self.execute(query)
|
846 | 846 |
|
847 |
| - self.assertIsInstance(self.stream.fetchone(), PreviousGtidEvent) |
| 847 | + self.assertIsInstance(self.stream.fetchone(), PreviousGtidsEvent) |
848 | 848 | firstevent = self.stream.fetchone()
|
849 | 849 | self.assertIsInstance(firstevent, GtidEvent)
|
850 | 850 |
|
@@ -894,7 +894,7 @@ def test_position_gtid(self):
|
894 | 894 |
|
895 | 895 | self.assertIsInstance(self.stream.fetchone(), RotateEvent)
|
896 | 896 | self.assertIsInstance(self.stream.fetchone(), FormatDescriptionEvent)
|
897 |
| - self.assertIsInstance(self.stream.fetchone(), PreviousGtidEvent) |
| 897 | + self.assertIsInstance(self.stream.fetchone(), PreviousGtidsEvent) |
898 | 898 | self.assertIsInstance(self.stream.fetchone(), GtidEvent)
|
899 | 899 | event = self.stream.fetchone()
|
900 | 900 |
|
|
0 commit comments