Skip to content

Commit

Permalink
[fix](cases) fix alias conflict case problem of driver url error (apa…
Browse files Browse the repository at this point in the history
…che#42676)

change driver url to doris internal one to get driver process more robust
  • Loading branch information
LiBinfeng-01 authored Oct 29, 2024
1 parent 3742290 commit 81d2b32
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

suite("alias_conflict") {

String s3_endpoint = getS3Endpoint()
String bucket = getS3BucketName()
String driver_url = "https://${bucket}.${s3_endpoint}/regression/jdbc_driver/mysql-connector-java-8.0.25.jar"
sql """ DROP TABLE IF EXISTS `test_alias_conflict1` """
sql """ DROP TABLE IF EXISTS `test_alias_conflict2` """
sql """ DROP TABLE IF EXISTS `test_alias_conflict3` """
Expand Down Expand Up @@ -163,7 +166,7 @@ suite("alias_conflict") {
'user'='${context.config.jdbcUser}',
'password'='${context.config.jdbcPassword}',
'jdbc_url' = '${context.config.jdbcUrl}',
'driver_url' = 'https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.4.0/mysql-connector-j-8.4.0.jar',
'driver_url' = "${driver_url}",
'driver_class' = 'com.mysql.cj.jdbc.Driver'
);
"""
Expand Down

0 comments on commit 81d2b32

Please sign in to comment.