You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Automatically check that all supported PostgreSQL versions are being tested on a single default VM.
This commit is contained in:
@@ -66,10 +66,10 @@ sub run
|
||||
my $hyVm = vmGet();
|
||||
|
||||
if (($bS3 || $bHostBackup) &&
|
||||
(@{$hyVm->{$self->vm()}{&VM_DB}} > 1 && ${$hyVm->{$self->vm()}{&VM_DB}}[-1] ne $self->pgVersion()))
|
||||
(@{$hyVm->{$self->vm()}{&VM_DB_TEST}} > 1 && ${$hyVm->{$self->vm()}{&VM_DB_TEST}}[-1] ne $self->pgVersion()))
|
||||
{
|
||||
&log(INFO,
|
||||
'skipped - this test will be run for this OS using PG ' . ${$hyVm->{$self->vm()}{&VM_DB}}[-1]);
|
||||
'skipped - this test is run this OS using PG ' . ${$hyVm->{$self->vm()}{&VM_DB_TEST}}[-1]);
|
||||
next;
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ sub run
|
||||
# Skip backup destinations other than backup host when standby except for one arbitrary db version
|
||||
if ($bHostStandby && $strBackupDestination ne HOST_BACKUP && $self->pgVersion() ne PG_VERSION_96)
|
||||
{
|
||||
&log(INFO, 'skipped - standby with backup destination other than backup host only tested on PG ' . PG_VERSION_96);
|
||||
&log(INFO, 'skipped - standby with backup destination other than backup host is tested on PG ' . PG_VERSION_96);
|
||||
next;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user