Skip to content

Commit 777448d

Browse files
author
Stanley Shyiko
committed
Fixed BinaryLogClientGTIDIntegrationTest: Received 4 QUERY event(s) instead of expected 2
1 parent 1e4a853 commit 777448d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/test/java/com/github/shyiko/mysql/binlog/BinaryLogClientIntegrationTest.java

+1-8
Original file line numberDiff line numberDiff line change
@@ -991,18 +991,11 @@ public void execute(Statement statement) throws SQLException {
991991
}
992992

993993
@Test
994-
public void testMysql8TableMetadata() throws Exception {
994+
public void testMySQL8TableMetadata() throws Exception {
995995
master.execute("create table test_metameta ( " +
996996
"a date, b date, c date, d date, e date, f date, g date, " +
997997
"h date, i date, j int)");
998998
master.execute("insert into test_metameta set j = 5");
999-
1000-
final BinaryLogClient binaryLogClient = new BinaryLogClient(
1001-
master.hostname, master.port, master.username, master.password
1002-
);
1003-
binaryLogClient.registerEventListener(eventListener);
1004-
binaryLogClient.connect(DEFAULT_TIMEOUT);
1005-
1006999
eventListener.waitFor(WriteRowsEventData.class, 1, DEFAULT_TIMEOUT);
10071000
}
10081001

0 commit comments

Comments
 (0)