Skip to content

Commit 0a66fbc

Browse files
author
Jin Huang
committed
Prevent running the tests in BinaryLogClientIntegrationTest twice
1 parent d466f72 commit 0a66fbc

File tree

3 files changed

+319
-278
lines changed

3 files changed

+319
-278
lines changed

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

+10-9
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,26 @@
1515
*/
1616
package com.github.shyiko.mysql.binlog;
1717

18-
import com.github.shyiko.mysql.binlog.event.QueryEventData;
19-
import com.github.shyiko.mysql.binlog.event.XidEventData;
20-
import com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer;
21-
import org.testng.annotations.AfterClass;
22-
import org.testng.annotations.BeforeClass;
23-
import org.testng.annotations.Test;
18+
import static org.testng.Assert.assertNotEquals;
19+
import static org.testng.AssertJUnit.assertNotNull;
2420

2521
import java.sql.ResultSet;
2622
import java.sql.SQLException;
2723
import java.sql.Statement;
2824
import java.util.concurrent.TimeUnit;
2925

30-
import static org.testng.Assert.assertNotEquals;
31-
import static org.testng.AssertJUnit.assertNotNull;
26+
import org.testng.annotations.AfterClass;
27+
import org.testng.annotations.BeforeClass;
28+
import org.testng.annotations.Test;
29+
30+
import com.github.shyiko.mysql.binlog.event.QueryEventData;
31+
import com.github.shyiko.mysql.binlog.event.XidEventData;
32+
import com.github.shyiko.mysql.binlog.event.deserialization.EventDeserializer;
3233

3334
/**
3435
* @author <a href="https://github.com/osheroff">Ben Osheroff</a>
3536
*/
36-
public class BinaryLogClientGTIDIntegrationTest extends BinaryLogClientIntegrationTest {
37+
public class BinaryLogClientGTIDIntegrationTest extends BinaryLogClientIntegrationTestBase {
3738

3839
@BeforeClass
3940
private void enableGTID() throws SQLException {

0 commit comments

Comments
 (0)