Skip to content

Commit d0896bf

Browse files
amitnemaAmit Nema
authored andcommitted
JDBCClientTest ignored, due to local ES setup (cannot use embedded ES due to license restriction).
1 parent 79f7716 commit d0896bf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

elasticsearch-jdbc/src/test/java/org/apn/elasticsearch/jdbc/JDBCClientTest.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import org.junit.After;
44
import org.junit.Before;
5+
import org.junit.Ignore;
56
import org.junit.Test;
67

78
import java.sql.*;
@@ -11,9 +12,11 @@
1112
/**
1213
* Test {@link JDBCClient} class.
1314
* This test required a elasticsearch cluster to be setup locally.
15+
* Due to this this test is skipped (ignored). please setup a local cluster before running the test.
1416
*
1517
* @Amit Nema
1618
*/
19+
@Ignore
1720
public class JDBCClientTest {
1821

1922
private JDBCClient jdbcClient;
@@ -25,11 +28,11 @@ public void setUp() {
2528

2629
@After
2730
public void tearDown() {
28-
jdbcClient =null;
31+
jdbcClient = null;
2932
}
3033

3134
@Test
32-
public void executeQuery() throws SQLException {
35+
public void getConnection() throws SQLException {
3336
StringBuilder outTable = new StringBuilder();
3437

3538
try (Connection conn = jdbcClient.getConnection()) {

0 commit comments

Comments
 (0)