Skip to content

Commit

Permalink
Test coverage for DROP SERVER
Browse files Browse the repository at this point in the history
  • Loading branch information
agedemenli committed Dec 2, 2021
1 parent eadad62 commit 7958d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/regress/expected/multi_create_fdw.out
Expand Up @@ -60,7 +60,7 @@ SELECT srvowner FROM pg_foreign_server WHERE srvname = 'foreign_server_1';
(1 row)

\c - - - :master_port
DROP SERVER foreign_server_1;
DROP SERVER IF EXISTS foreign_server_1 CASCADE;
\c - - - :worker_1_port
-- verify that the server is dropped on the worker
SELECT COUNT(*)=0 FROM pg_foreign_server WHERE srvname = 'foreign_server_1';
Expand Down
2 changes: 1 addition & 1 deletion src/test/regress/sql/multi_create_fdw.sql
Expand Up @@ -44,7 +44,7 @@ SELECT srvoptions FROM pg_foreign_server WHERE srvname = 'foreign_server_1';
SELECT srvowner FROM pg_foreign_server WHERE srvname = 'foreign_server_1';
\c - - - :master_port

DROP SERVER foreign_server_1;
DROP SERVER IF EXISTS foreign_server_1 CASCADE;
\c - - - :worker_1_port
-- verify that the server is dropped on the worker
SELECT COUNT(*)=0 FROM pg_foreign_server WHERE srvname = 'foreign_server_1';
Expand Down

0 comments on commit 7958d44

Please sign in to comment.