Skip to content

Commit 2808cc6

Browse files
committed
tests: fix test_checkdb_with_least_privileges
1 parent 6611e5e commit 2808cc6

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

tests/checkdb.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -618,14 +618,10 @@ def test_checkdb_with_least_privileges(self):
618618
'GRANT EXECUTE ON FUNCTION bt_index_check(regclass, bool) TO backup;'
619619
)
620620

621-
# if ProbackupTest.enterprise:
622-
# node.safe_psql(
623-
# "backupdb",
624-
# "GRANT EXECUTE ON FUNCTION pg_catalog.pgpro_edition() TO backup")
625-
#
626-
# node.safe_psql(
627-
# "backupdb",
628-
# "GRANT EXECUTE ON FUNCTION pg_catalog.pgpro_version() TO backup")
621+
if ProbackupTest.enterprise:
622+
node.safe_psql(
623+
"backupdb",
624+
"GRANT EXECUTE ON FUNCTION pg_catalog.pgpro_edition() TO backup")
629625

630626
# checkdb
631627
try:

0 commit comments

Comments
 (0)