Skip to content

Commit 0c8141c

Browse files
committed
chore: apply suggestions
Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
1 parent 7936b0d commit 0c8141c

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

ingester-integration-tests/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454

5555
<!-- MySQL JDBC driver for verification -->
5656
<dependency>
57-
<groupId>mysql</groupId>
58-
<artifactId>mysql-connector-java</artifactId>
59-
<version>8.0.33</version>
57+
<groupId>com.mysql</groupId>
58+
<artifactId>mysql-connector-j</artifactId>
59+
<version>8.4.0</version>
6060
<scope>test</scope>
6161
</dependency>
6262

ingester-integration-tests/src/test/java/io/greptime/ITHelper.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,6 @@ public static int queryCount(Connection conn, String tableName) throws SQLExcept
110110
}
111111
}
112112

113-
/**
114-
* Queries a single row by host and verifies it exists.
115-
* Returns the ResultSet for further verification.
116-
*/
117-
public static ResultSet queryByHost(Connection conn, String tableName, String host) throws SQLException {
118-
String sql = String.format("SELECT * FROM %s WHERE host = '%s'", tableName, host);
119-
Statement stmt = conn.createStatement();
120-
return stmt.executeQuery(sql);
121-
}
122-
123113
/**
124114
* Verifies that a specific row exists with expected values.
125115
*/

0 commit comments

Comments
 (0)