Skip to content

Commit 1bc5dfe

Browse files
committed
enable JWT test only for cloud
1 parent db6de51 commit 1bc5dfe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

client-v2/src/test/java/com/clickhouse/client/HttpTransportTests.java

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

914914
@Test(groups = { "integration" })
915915
public void testJWTWithCloud() throws Exception {
916+
if (!isCloud()) {
917+
return; // only for cloud
918+
}
916919
String jwt = System.getenv("CLIENT_JWT");
917920
try (Client client = newClient().useBearerTokenAuth(jwt).build()) {
918921
try {

0 commit comments

Comments
 (0)