Skip to content

Commit e4a69bc

Browse files
committed
removed JWT generating code. fixed test to run in the cloud
1 parent ec460c8 commit e4a69bc

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,6 @@ jobs:
247247
EOF
248248
- name: Install Java client
249249
run: mvn --also-make --batch-mode --no-transfer-progress -DskipTests install
250-
# - name: Generate JWT
251-
# env:
252-
# JWT_K_PEM: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_JWT_PRIVATE_KEY }}
253-
# run: |
254-
# npm install jsonwebtoken &&
255-
# echo "CLIENT_JWT=$(node jwt-gen.js)" >> "$GITHUB_ENV"
256250
- name: Test http client
257251
env:
258252
CLICKHOUSE_CLOUD_HOST: ${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void testConnect() {
2525
Driver driver = new Driver();
2626
Properties props = new Properties();
2727
props.put(ClientConfigProperties.USER.getKey(), ClientConfigProperties.USER.getDefaultValue());
28-
props.put(ClientConfigProperties.PASSWORD.getKey(), ClientConfigProperties.PASSWORD.getDefaultValue());
28+
props.put(ClientConfigProperties.PASSWORD.getKey(), getPassword());
2929
Assert.assertNotNull(driver.connect(getEndpointString(), props));
3030
} catch (SQLException e) {
3131
Assert.fail("Failed to connect to ClickHouse", e);

jwt-gen.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)