diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-04-15 19:54:38 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-04-15 19:54:38 +0300 |
commit | 0d8a22a9ac6a61b7993abb642cb7e4645f4087b0 (patch) | |
tree | 67e0401c20ee5ed65717c80ccdbebb66ace31384 /src/bin/pg_rewind/t/002_databases.pl | |
parent | 3d80a1e0e3e278edc6022d642478dcbd089d4483 (diff) | |
download | postgresql-0d8a22a9ac6a61b7993abb642cb7e4645f4087b0.tar.gz postgresql-0d8a22a9ac6a61b7993abb642cb7e4645f4087b0.zip |
Shut down test servers after pg_rewind regression tests.
Now that the test servers are initialized twice in each .pl script,
the single END block is not enough to stop them. Add a new clean_rewind_test
function that is called at the end of each test.
Michael Paquier
Diffstat (limited to 'src/bin/pg_rewind/t/002_databases.pl')
-rw-r--r-- | src/bin/pg_rewind/t/002_databases.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_rewind/t/002_databases.pl b/src/bin/pg_rewind/t/002_databases.pl index 1cf9a3a65d3..be1e1948a7f 100644 --- a/src/bin/pg_rewind/t/002_databases.pl +++ b/src/bin/pg_rewind/t/002_databases.pl @@ -40,6 +40,7 @@ standby_afterpromotion ), 'database names'); + RewindTest::clean_rewind_test(); } # Run the test in both modes. |