mirror of
https://github.com/postgres/postgres.git
synced 2026-06-12 18:20:18 -04:00
Clean up nodes that are no longer of use in 007_pgdumpall.pl
Oversight in commit 763aaa06f0. When nodes are going out of scope, we
should stop the underlying postmasters rather than waiting for the
script to end.
Per gripe from Tom Lane
Discussion: https://postgr.es/m/740033.1772142754@sss.pgh.pa.us
This commit is contained in:
parent
574bee89c2
commit
d6d9b96b40
1 changed files with 3 additions and 0 deletions
|
|
@ -352,6 +352,9 @@ foreach my $run (sort keys %pgdumpall_runs)
|
|||
$pgdumpall_runs{$run}->{unlike},
|
||||
"should not dump $run");
|
||||
}
|
||||
|
||||
$target_node->stop;
|
||||
$target_node->clean_node;
|
||||
}
|
||||
|
||||
# Some negative test case with dump of pg_dumpall and restore using pg_restore
|
||||
|
|
|
|||
Loading…
Reference in a new issue