diff --git a/src/test/regress/expected/grant_on_database_propagation_from_non_maindb.out b/src/test/regress/expected/grant_on_database_propagation_from_non_maindb.out index 2c0dde2b9..594e3b74e 100644 --- a/src/test/regress/expected/grant_on_database_propagation_from_non_maindb.out +++ b/src/test/regress/expected/grant_on_database_propagation_from_non_maindb.out @@ -379,7 +379,6 @@ select check_database_privileges('myuser_2','test_db',ARRAY['CREATE', 'CONNECT', \c test_2pc_db - - :master_port RESET ROLE; ---below test should fail and should throw an error revoke CREATE,CONNECT,TEMP,TEMPORARY on database test_2pc_db,test_db from myuser8 ; --below test should succeed and should not throw any error revoke CREATE,CONNECT,TEMP,TEMPORARY on database test_2pc_db,test_db from myuser_2; diff --git a/src/test/regress/sql/grant_on_database_propagation_from_non_maindb.sql b/src/test/regress/sql/grant_on_database_propagation_from_non_maindb.sql index f15986a6d..f83472b36 100644 --- a/src/test/regress/sql/grant_on_database_propagation_from_non_maindb.sql +++ b/src/test/regress/sql/grant_on_database_propagation_from_non_maindb.sql @@ -208,7 +208,6 @@ select check_database_privileges('myuser_2','test_db',ARRAY['CREATE', 'CONNECT', \c test_2pc_db - - :master_port RESET ROLE; ---below test should fail and should throw an error revoke CREATE,CONNECT,TEMP,TEMPORARY on database test_2pc_db,test_db from myuser8 ; --below test should succeed and should not throw any error