Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Feb 22, 2024
1 parent 401db6c commit f1bac80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ suite("test_nereids_row_policy") {

test {
sql "SELECT * FROM ${viewName}"
exception "SELECT command denied to user '${user}'"
exception "SELECT command denied to user"
}
}
assertEquals(size, result1.size())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ suite("view_authorization") {
// no privilege to base table
test {
sql "select * from ${db}.${baseTable}"
exception "SELECT command denied to user '${user1}'"
exception "SELECT command denied to user"
}

// has privilege to view1
Expand All @@ -69,7 +69,7 @@ suite("view_authorization") {
// no privilege to view2
test {
sql "select * from ${db}.${view2}"
exception "SELECT command denied to user '${user1}'"
exception "SELECT command denied to user"
}

// nested view
Expand Down

0 comments on commit f1bac80

Please sign in to comment.