Skip to content

Commit

Permalink
[MINOR] [JDBC] JDBCInterpreterTest.testMultiTenant_* improvement (#4462)
Browse files Browse the repository at this point in the history
  • Loading branch information
huage1994 authored Sep 14, 2022
1 parent 23f3acf commit 9ecd250
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ public void setUp() throws Exception {
statement.execute(
"DROP TABLE IF EXISTS test_table; " +
"CREATE TABLE test_table(id varchar(255), name varchar(255));");
statement.execute(
"CREATE USER IF NOT EXISTS dbuser PASSWORD 'dbpassword';" +
"CREATE USER IF NOT EXISTS user1Id PASSWORD 'user1Pw';" +
"CREATE USER IF NOT EXISTS user2Id PASSWORD 'user2Pw';"
);

PreparedStatement insertStatement = connection.prepareStatement(
"insert into test_table(id, name) values ('a', 'a_name'),('b', 'b_name'),('c', ?);");
Expand Down

0 comments on commit 9ecd250

Please sign in to comment.