Skip to content

Commit 39a87e4

Browse files
committed
added info to catch when
1 parent a9157f6 commit 39a87e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jdbc-v2/src/test/java/com/clickhouse/jdbc/StatementTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import static org.testng.Assert.assertNull;
3131
import static org.testng.Assert.assertThrows;
3232
import static org.testng.Assert.assertTrue;
33+
import static org.testng.Assert.fail;
3334

3435

3536
@Test(groups = { "integration" })
@@ -749,6 +750,8 @@ public void testSelectWithKeywordsAsTableAlias() throws Exception {
749750
Assert.assertTrue(rs.next());
750751
Assert.assertEquals(rs.getInt(1), 1);
751752
}
753+
} catch (Exception e) {
754+
fail("failed for keyword: " + keyword, e);
752755
}
753756
}
754757
}

0 commit comments

Comments
 (0)