From 869de2ab59336c8f141854731d35f47c8d49ca58 Mon Sep 17 00:00:00 2001 From: Tao Wu Date: Wed, 17 Jul 2024 13:41:18 +0800 Subject: [PATCH] change risingwave url to risingwave-standalone --- .../java/src/test/java/com/risingwave/TestSubscription.java | 1 - .../java/src/test/java/com/risingwave/TestUtils.java | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration_tests/client-library/java/src/test/java/com/risingwave/TestSubscription.java b/integration_tests/client-library/java/src/test/java/com/risingwave/TestSubscription.java index 8dffc020e52cf..0c834e23806b2 100644 --- a/integration_tests/client-library/java/src/test/java/com/risingwave/TestSubscription.java +++ b/integration_tests/client-library/java/src/test/java/com/risingwave/TestSubscription.java @@ -1,6 +1,5 @@ package com.risingwave; -import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import java.sql.Connection; diff --git a/integration_tests/client-library/java/src/test/java/com/risingwave/TestUtils.java b/integration_tests/client-library/java/src/test/java/com/risingwave/TestUtils.java index cbb1eb0e65c28..245c2f36a06d2 100644 --- a/integration_tests/client-library/java/src/test/java/com/risingwave/TestUtils.java +++ b/integration_tests/client-library/java/src/test/java/com/risingwave/TestUtils.java @@ -7,7 +7,8 @@ public class TestUtils { public static Connection establishConnection() throws SQLException { - final String url = "jdbc:postgresql://localhost:4566/dev?preferQueryMode=simple"; + // TODO: remove preferQueryMode=simple. + final String url = "jdbc:postgresql://risingwave-standalone:4566/dev?preferQueryMode=simple"; final String user = "root"; final String password = "";