1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-09 00:45:49 +02:00

Improve labeling for errors in helper processes.

This commit is contained in:
David Steele
2017-10-21 14:40:14 -04:00
parent 44c7c0475a
commit e1cb9ae86a
19 changed files with 67 additions and 63 deletions

View File

@ -463,7 +463,7 @@ sub run
$self->testResult(
sub {${storageSpool()->get("$self->{strSpoolPath}/$strSegmentError.error")}},
ERROR_FILE_OPEN . "\nraised on 'local-1' host: unable to open $self->{strWalPath}/${strSegmentError}",
ERROR_FILE_OPEN . "\nraised from local-1 process: unable to open $self->{strWalPath}/${strSegmentError}",
"test ${strSegmentError}.error contents");
# Remove pushed WAL file
@ -756,7 +756,7 @@ sub run
$self->testException(
sub {$oPush->process("$self->{strWalPath}/${strSegment}")}, ERROR_FILE_READ,
"process '" . BOGUS . " remote' terminated.*");
"remote process on '" . BOGUS . "' terminated.*");
exit if ($iProcessId != $PID);
# Disable async archiving