Skip to content

Commit 842f519

Browse files
committed
disable tests for cloud
1 parent 8ffa30a commit 842f519

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clickhouse-jdbc/src/test/java/com/clickhouse/jdbc/AccessManagementTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public void testSetRolesAccessingTableRows() throws SQLException {
179179

180180
@Test(groups = "integration", dataProvider = "passwordAuthMethods")
181181
public void testPasswordAuthentication(String identifyWith, String identifyBy) throws SQLException {
182-
// if (isCloud()) return; // TODO: testPasswordAuthentication - Revisit, see:
182+
if (isCloud()) return; // Doesn’t allow to create users with specific passwords
183183
String url = String.format("jdbc:ch:%s", getEndpointString());
184184
Properties properties = new Properties();
185185
properties.setProperty(ClickHouseHttpOption.REMEMBER_LAST_SET_ROLES.getKey(), "true");
@@ -219,7 +219,7 @@ private static Object[][] passwordAuthMethods() {
219219

220220
@Test(groups = "integration", dataProvider = "headerAuthDataProvider")
221221
public void testSwitchingBasicAuthToClickHouseHeaders(String identifyWith, String identifyBy, boolean shouldFail) throws SQLException {
222-
// if (isCloud()) return; // TODO: testPasswordAuthentication - Revisit, see:
222+
if (isCloud()) return; // Doesn't allow to create users with specific passwords
223223
String url = String.format("jdbc:ch:%s", getEndpointString());
224224
Properties properties = new Properties();
225225
properties.put(ClickHouseHttpOption.USE_BASIC_AUTHENTICATION.getKey(), false);

0 commit comments

Comments
 (0)