mirror of https://github.com/citusdata/citus.git
fix
parent
98a22bd2a4
commit
b618729a58
|
@ -109,18 +109,12 @@ count
|
||||||
|
|
||||||
step s5-kill:
|
step s5-kill:
|
||||||
SELECT pg_terminate_backend(pg_backend_pid) FROM selected_pid;
|
SELECT pg_terminate_backend(pg_backend_pid) FROM selected_pid;
|
||||||
SELECT pg_sleep(1); -- sleep for a while to make sure that backend is terminated
|
|
||||||
|
|
||||||
pg_terminate_backend
|
pg_terminate_backend
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
t
|
t
|
||||||
(1 row)
|
(1 row)
|
||||||
|
|
||||||
pg_sleep
|
|
||||||
---------------------------------------------------------------------
|
|
||||||
|
|
||||||
(1 row)
|
|
||||||
|
|
||||||
step s3-wait-backend-termination:
|
step s3-wait-backend-termination:
|
||||||
SET ROLE postgres;
|
SET ROLE postgres;
|
||||||
DO $$
|
DO $$
|
||||||
|
|
|
@ -142,7 +142,6 @@ session "s5"
|
||||||
step "s5-kill"
|
step "s5-kill"
|
||||||
{
|
{
|
||||||
SELECT pg_terminate_backend(pg_backend_pid) FROM selected_pid;
|
SELECT pg_terminate_backend(pg_backend_pid) FROM selected_pid;
|
||||||
SELECT pg_sleep(1); -- sleep for a while to make sure that backend is terminated
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue