Skip to content

Commit 2dd5b07

Browse files
author
Paultagoras
committed
Update DatabaseMetaDataTest.java
1 parent ba51b59 commit 2dd5b07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jdbc-v2/src/test/java/com/clickhouse/jdbc/metadata/DatabaseMetaDataTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ public void testGetTables() throws Exception {
101101

102102
@Test(groups = { "integration" })
103103
public void testGetPrimaryKeys() throws Exception {
104+
runQuery("SELECT 1;");
105+
Thread.sleep(5 * 1000); // wait for query log to be updated
106+
104107
try (Connection conn = getJdbcConnection()) {
105108
DatabaseMetaData dbmd = conn.getMetaData();
106109
ResultSet rs = dbmd.getPrimaryKeys(null, "system", "query_log");

0 commit comments

Comments
 (0)