Skip to content

Commit 1752163

Browse files
committed
Fix failing test.
1 parent 2aab99f commit 1752163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

metacat-thrift/src/test/groovy/com/netflix/metacat/thrift/CatalogThriftHiveMetastoreSpec.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,10 +1231,10 @@ class CatalogThriftHiveMetastoreSpec extends Specification {
12311231

12321232
def 'test get_privilege_set'() {
12331233
when:
1234-
ms.get_privilege_set(null, null, null)
1234+
def result = ms.get_privilege_set(null, null, null)
12351235

12361236
then:
1237-
thrown(InvalidOperationException)
1237+
result == new PrincipalPrivilegeSet()
12381238
}
12391239

12401240
def 'test get_role_grants_for_principal'() {

0 commit comments

Comments
 (0)