1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-09-16 09:06:18 +02:00

Create aliases for test VMs ordered by age.

This will allow for smarter allocation of tests in the next commit.
This commit is contained in:
David Steele
2019-02-23 15:13:23 +02:00
parent 59d7958914
commit 4a7588e604
2 changed files with 16 additions and 2 deletions

View File

@@ -109,8 +109,18 @@ use constant VM_EXPECT => VM_CO7;
use constant VM_HOST_DEFAULT => VM_U18;
push @EXPORT, qw(VM_HOST_DEFAULT);
# Lists valid VMs
use constant VM_LIST => (VM_U18, VM_CO6, VM_CO7, VM_U12);
# VM aliases for run matrices (numbered oldest to newest)
use constant VM1 => VM_CO6;
push @EXPORT, qw(VM1);
use constant VM2 => VM_U12;
push @EXPORT, qw(VM2);
use constant VM3 => VM_CO7;
push @EXPORT, qw(VM3);
use constant VM4 => VM_U18;
push @EXPORT, qw(VM4);
# List of default test VMs (in this order: newest, oldest, next newest, next oldest)
use constant VM_LIST => (VM4, VM1, VM3, VM2);
push @EXPORT, qw(VM_LIST);
my $oyVm =