Skip to content

Commit 90ddcd7

Browse files
committed
Reverting changes done in BlobIntegrationTest as per they do not involve Postgres XA testing.
1 parent b8de447 commit 90ddcd7

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

ojp-jdbc-driver/src/test/java/openjproxy/jdbc/BlobIntegrationTest.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
import org.junit.jupiter.api.BeforeEach;
66
import org.junit.jupiter.params.ParameterizedTest;
77
import org.junit.jupiter.params.provider.CsvFileSource;
8-
import org.openjproxy.jdbc.xa.OjpXADataSource;
9-
import javax.sql.XAConnection;
108

119
import java.io.ByteArrayInputStream;
1210
import java.io.IOException;
@@ -36,7 +34,7 @@ public static void checkTestConfiguration() {
3634
isOracleTestEnabled = Boolean.parseBoolean(System.getProperty("enableOracleTests", "false"));
3735
}
3836

39-
public void setUp(String driverClass, String url, String user, String pwd, boolean isXA) throws SQLException, ClassNotFoundException {
37+
public void setUp(String driverClass, String url, String user, String pwd) throws SQLException, ClassNotFoundException {
4038

4139
this.tableName = "blob_test_blob";
4240
if (url.toLowerCase().contains("mysql")) {
@@ -57,8 +55,8 @@ public void setUp(String driverClass, String url, String user, String pwd, boole
5755

5856
@ParameterizedTest
5957
@CsvFileSource(resources = "/h2_mysql_mariadb_oracle_connections.csv")
60-
public void createAndReadingBLOBsSuccessful(String driverClass, String url, String user, String pwd, boolean isXA) throws SQLException, ClassNotFoundException, IOException {
61-
this.setUp(driverClass, url, user, pwd, isXA);
58+
public void createAndReadingBLOBsSuccessful(String driverClass, String url, String user, String pwd) throws SQLException, ClassNotFoundException, IOException {
59+
this.setUp(driverClass, url, user, pwd);
6260
System.out.println("Testing for url -> " + url);
6361

6462
try {
@@ -131,8 +129,8 @@ public void createAndReadingBLOBsSuccessful(String driverClass, String url, Stri
131129

132130
@ParameterizedTest
133131
@CsvFileSource(resources = "/h2_mysql_mariadb_oracle_connections.csv")
134-
public void creatingAndReadingLargeBLOBsSuccessful(String driverClass, String url, String user, String pwd, boolean isXA) throws SQLException, IOException, ClassNotFoundException {
135-
this.setUp(driverClass, url, user, pwd, isXA);
132+
public void creatingAndReadingLargeBLOBsSuccessful(String driverClass, String url, String user, String pwd) throws SQLException, IOException, ClassNotFoundException {
133+
this.setUp(driverClass, url, user, pwd);
136134
System.out.println("Testing for url -> " + url);
137135

138136
try {

0 commit comments

Comments
 (0)