1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Clarify which timeline should be used for timeline integration test.

This commit is contained in:
David Steele
2019-09-27 13:37:59 -04:00
parent 0a4122c77d
commit afc483ef86
@@ -135,7 +135,7 @@ sub run
my $strTimeMessage = 'time';
my $strXidMessage = 'xid';
my $strNameMessage = 'name';
my $strTimelineMessage = 'timeline3';
my $strTimelineMessage = 'timeline';
# Create two new databases
if ($bTestLocal)
@@ -959,7 +959,7 @@ sub run
$oHostDbMaster->sqlSelectOneTest('select message from test', $strNameMessage);
}
# Restore (restore type = default, timeline = 4)
# Restore (restore type = default, timeline = created by type = xid, inclusive recovery)
#---------------------------------------------------------------------------------------------------------------------------
if ($bTestLocal && $oHostDbMaster->pgVersion() >= PG_VERSION_84)
{
@@ -967,6 +967,9 @@ sub run
$oHostDbMaster->clusterStop();
# The timeline to use for this test is subject to change based on tests being added or removed above. The best thing
# would be to automatically grab the timeline after the restore, but since this test has been stable for a long time
# it does not seem worth the effort to automate.
$oHostDbMaster->restore(
undef, $strIncrBackup,
{bDelta => true,