mirror of https://github.com/citusdata/citus.git
Increase sleep time in a regression test to give Valgrind tests enough time
parent
98522d8d7f
commit
12d5974d97
|
@ -132,7 +132,8 @@ SELECT pg_reload_conf();
|
|||
t
|
||||
(1 row)
|
||||
|
||||
SELECT pg_sleep(0.2);
|
||||
-- Sleep 1 second to give Valgrind enough time to clear transactions
|
||||
SELECT pg_sleep(1);
|
||||
pg_sleep
|
||||
----------
|
||||
|
||||
|
|
|
@ -250,7 +250,8 @@ SELECT pg_reload_conf();
|
|||
t
|
||||
(1 row)
|
||||
|
||||
SELECT pg_sleep(0.1);
|
||||
-- Sleep 1 second to give Valgrind enough time to clear transactions
|
||||
SELECT pg_sleep(1);
|
||||
pg_sleep
|
||||
----------
|
||||
|
||||
|
|
|
@ -76,7 +76,8 @@ SELECT count(*) FROM pg_dist_transaction;
|
|||
-- Test whether auto-recovery runs
|
||||
ALTER SYSTEM SET citus.recover_2pc_interval TO 10;
|
||||
SELECT pg_reload_conf();
|
||||
SELECT pg_sleep(0.2);
|
||||
-- Sleep 1 second to give Valgrind enough time to clear transactions
|
||||
SELECT pg_sleep(1);
|
||||
SELECT count(*) FROM pg_dist_transaction;
|
||||
ALTER SYSTEM RESET citus.recover_2pc_interval;
|
||||
SELECT pg_reload_conf();
|
||||
|
|
|
@ -123,7 +123,8 @@ SELECT count(*) FROM pg_dist_transaction;
|
|||
-- Test whether auto-recovery runs
|
||||
ALTER SYSTEM SET citus.recover_2pc_interval TO 10;
|
||||
SELECT pg_reload_conf();
|
||||
SELECT pg_sleep(0.1);
|
||||
-- Sleep 1 second to give Valgrind enough time to clear transactions
|
||||
SELECT pg_sleep(1);
|
||||
SELECT count(*) FROM pg_dist_transaction;
|
||||
|
||||
ALTER SYSTEM RESET citus.recover_2pc_interval;
|
||||
|
|
Loading…
Reference in New Issue