Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2cdc138

Browse files
committed
Remember to drop roles created by regression tests.
Commit e3920ac created "regress_subscription_user2" in subscription.sql, but forgot to drop it, causing the regression tests to fail if run twice without re-initdb'ing.
1 parent cf366e9 commit 2cdc138

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/test/regress/expected/subscription.out

+1
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,5 @@ DROP SUBSCRIPTION testsub NODROP SLOT; -- fail
119119
ERROR: subscription "testsub" does not exist
120120
RESET SESSION AUTHORIZATION;
121121
DROP ROLE regress_subscription_user;
122+
DROP ROLE regress_subscription_user2;
122123
DROP ROLE regress_subscription_user_dummy;

src/test/regress/sql/subscription.sql

+1
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,5 @@ DROP SUBSCRIPTION testsub NODROP SLOT; -- fail
9292

9393
RESET SESSION AUTHORIZATION;
9494
DROP ROLE regress_subscription_user;
95+
DROP ROLE regress_subscription_user2;
9596
DROP ROLE regress_subscription_user_dummy;

0 commit comments

Comments
 (0)