Shut down test servers after pg_rewind regression tests.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_rewind/RewindTest.pm | modified | +12 −2 |
| src/bin/pg_rewind/t/001_basic.pl | modified | +1 −0 |
| src/bin/pg_rewind/t/002_databases.pl | modified | +1 −0 |
| src/bin/pg_rewind/t/003_extrafiles.pl | modified | +2 −0 |