Skip to content

Commit 0b55563

Browse files
committed
disabled DDL tests for cloud
1 parent af9e682 commit 0b55563

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ void testRecursiveWithClause() throws Exception {
363363
if (ClickHouseVersion.of(getServerVersion()).check("(,24.3]")) {
364364
return; // recursive CTEs were introduces in 24.4
365365
}
366-
366+
367367
try (Connection conn = getJdbcConnection();
368368
PreparedStatement stmt = conn.prepareStatement(
369369
"WITH RECURSIVE numbers AS (" +

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

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

710710
@Test(groups = {"integration"})
711711
public void testDDLStatements() throws Exception {
712+
if (isCloud()) {
713+
return; // skip because we do not want to create extra on cloud instance
714+
}
712715
try (Connection conn = getJdbcConnection()) {
713716
try (Statement stmt = conn.createStatement()){
714717
Assert.assertFalse(stmt.execute("CREATE USER IF NOT EXISTS 'user011' IDENTIFIED BY 'password'"));

0 commit comments

Comments
 (0)