Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Oct 16, 2023
1 parent f9cfb98 commit fd9bb8f
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,9 @@ class IcebergCatalogRangerSparkExtensionSuite extends RangerSparkExtensionSuite
s" [update] privilege on [$bobNamespace/$bobSelectTable]"
})

val e2 = intercept[AccessControlException](
doAs(
bob,
sql(mergeIntoSql)))
assert(e2.getMessage.contains(s"does not have" +
s" [update] privilege on [$bobNamespace/$bobSelectTable]"))
interceptContains[AccessControlException] {
doAs(bob, sql(mergeIntoSql))
}(s"does not have [update] privilege on [$bobNamespace/$bobSelectTable]")
}

doAs(admin, sql(mergeIntoSql))
Expand Down

0 comments on commit fd9bb8f

Please sign in to comment.