You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-13 01:00:23 +02:00
Remove info expect tests from mock/all and mock/stanza.
These tests are redundant now that we have full coverage in the unit tests are are not worth maintaining anymore.
This commit is contained in:
committed by
David Steele
parent
e4408c7dd3
commit
2972580566
@ -231,7 +231,7 @@ sub run
|
||||
# Restore archive.info
|
||||
forceStorageMove(storageRepo(), $strArchiveInfoOldFile, $strArchiveInfoFile, {bRecurse => false});
|
||||
|
||||
# Push a WAL and create a backup in the new DB to confirm diff changed to full and info command displays the JSON correctly
|
||||
# Push a WAL and create a backup in the new DB to confirm diff changed to full
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
storageTest()->put($strArchiveTestFile, $self->walGenerateContent(PG_VERSION_95));
|
||||
$oHostDbMaster->archivePush($strWalPath, $strArchiveTestFile, 1);
|
||||
@ -241,9 +241,6 @@ sub run
|
||||
{strOptionalParam => '--repo1-retention-full=2 --no-' . cfgOptionName(CFGOPT_ONLINE)});
|
||||
$oHostBackup->backupEnd('full', $oExecuteBackup, undef, false);
|
||||
|
||||
# Confirm info command displays the JSON correctly
|
||||
$oHostDbMaster->info('db upgraded - db-1 and db-2 listed', {strOutput => CFGOPTVAL_INFO_OUTPUT_JSON});
|
||||
|
||||
# Delete the stanza
|
||||
#--------------------------------------------------------------------------------------------------------------------------
|
||||
$oHostBackup->stanzaDelete('fail on missing stop file', {iExpectedExitStatus => ERROR_FILE_MISSING});
|
||||
|
Reference in New Issue
Block a user