File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/test/java/com/starrocks/connector/spark/sql Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ public abstract class ITTestBase {
5555
5656 protected static String FE_HTTP = "10.37.42.50:8031" ;
5757 protected static String FE_JDBC = "jdbc:mysql://10.37.42.50:9031" ;
58-
5958 protected static String USER = "root" ;
6059 protected static String PASSWORD = "" ;
6160 private static final boolean DEBUG_MODE = false ;
@@ -66,10 +65,10 @@ public abstract class ITTestBase {
6665 @ BeforeEach
6766 public void beforeClass () throws Exception {
6867 Properties props = loadConnProps ();
69- FE_HTTP = "127.0.0.1:8030" ;
70- FE_JDBC = "jdbc:mysql://127.0.0.1:9030" ;
68+ FE_HTTP = props . getProperty ( "starrocks.fe.http.url" , FE_HTTP ) ;
69+ FE_JDBC = props . getProperty ( "starrocks.fe.jdbc.url" , FE_JDBC ) ;
7170 USER = props .getProperty ("starrocks.user" , USER );
72- PASSWORD ="" ;
71+ PASSWORD = props . getProperty ( "starrocks.password" , PASSWORD ) ;
7372
7473 try {
7574 DB_CONNECTION = DriverManager .getConnection (FE_JDBC , USER , PASSWORD );
You can’t perform that action at this time.
0 commit comments