mirror of https://github.com/citusdata/citus.git
Cleanup leftover replication slots in publication test (#7354)
parent
e14e8667cc
commit
c88bf5ff1c
|
@ -267,6 +267,7 @@ SET client_min_messages TO ERROR;
|
|||
DROP SCHEMA publication CASCADE;
|
||||
DROP SCHEMA "publication-1" CASCADE;
|
||||
DROP SCHEMA citus_schema_1 CASCADE;
|
||||
SELECT public.wait_for_resource_cleanup();
|
||||
\q
|
||||
\endif
|
||||
-- recreate a mixed publication
|
||||
|
@ -544,3 +545,9 @@ DROP SCHEMA publication CASCADE;
|
|||
DROP SCHEMA "publication-1" CASCADE;
|
||||
DROP SCHEMA citus_schema_1 CASCADE;
|
||||
DROP SCHEMA publication2 CASCADE;
|
||||
SELECT public.wait_for_resource_cleanup();
|
||||
wait_for_resource_cleanup
|
||||
---------------------------------------------------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
|
|
|
@ -267,4 +267,10 @@ SET client_min_messages TO ERROR;
|
|||
DROP SCHEMA publication CASCADE;
|
||||
DROP SCHEMA "publication-1" CASCADE;
|
||||
DROP SCHEMA citus_schema_1 CASCADE;
|
||||
SELECT public.wait_for_resource_cleanup();
|
||||
wait_for_resource_cleanup
|
||||
---------------------------------------------------------------------
|
||||
|
||||
(1 row)
|
||||
|
||||
\q
|
||||
|
|
|
@ -195,6 +195,7 @@ SET client_min_messages TO ERROR;
|
|||
DROP SCHEMA publication CASCADE;
|
||||
DROP SCHEMA "publication-1" CASCADE;
|
||||
DROP SCHEMA citus_schema_1 CASCADE;
|
||||
SELECT public.wait_for_resource_cleanup();
|
||||
\q
|
||||
\endif
|
||||
|
||||
|
@ -391,3 +392,5 @@ DROP SCHEMA publication CASCADE;
|
|||
DROP SCHEMA "publication-1" CASCADE;
|
||||
DROP SCHEMA citus_schema_1 CASCADE;
|
||||
DROP SCHEMA publication2 CASCADE;
|
||||
|
||||
SELECT public.wait_for_resource_cleanup();
|
||||
|
|
Loading…
Reference in New Issue