Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: chenxu <chenxu@dmetasoul.com>
  • Loading branch information
dmetasoul01 committed Jan 20, 2025
1 parent 7b97a0f commit daa0b2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public void testHDFSDirPermission() {
login(USER1, USER1_PASS, DOMAIN1);
// create table
sql("use database1");
Path tablePath = new Path("hdfs://chenxu-dev:9000/lakesoul-test-bucket/database1/table1");
Path tablePath = new Path("hdfs://localhost:9000/lakesoul-test-bucket/database1/table1");
sql("create table if not exists table1 ( id int, foo string, bar string )"
+ " with ('format' = 'lakesoul', 'path' = '"
+ tablePath.toString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class RBACOperationSuite extends QueryTest
spark.sql("create database if not exists database1")
val df = spark.sql("show databases").toDF()
df.show
checkAnswer(df, Seq(Row("default", "databases1")))
checkAnswer(df, Seq(Row("default"), Row("databases1")))
// drop: coming soon
// spark.sql("drop database database1").collect()
// val df2 = spark.sql("show databases").toDF()
Expand Down

0 comments on commit daa0b2d

Please sign in to comment.