Drop the role in test

pull/7450/head
eaydingol 2024-01-24 13:37:45 +00:00
parent a1abbb6fa4
commit 9f6a526927
2 changed files with 5 additions and 0 deletions

View File

@ -6,3 +6,5 @@ SELECT citus_internal.commit_management_command_2pc();
ERROR: permission denied for function commit_management_command_2pc
SELECT citus_internal.replace_isolation_tester_func();
ERROR: permission denied for function replace_isolation_tester_func
RESET ROLE;
DROP USER nonsuperuser;

View File

@ -5,3 +5,6 @@ SET ROLE nonsuperuser;
--- The non-superuser role should not be able to access citus_internal functions
SELECT citus_internal.commit_management_command_2pc();
SELECT citus_internal.replace_isolation_tester_func();
RESET ROLE;
DROP USER nonsuperuser;