1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +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

@ -122,6 +122,10 @@
<release-item>
<p>Add missing ToLog() coverage to <code>String</code>, <code>List</code>, and <code>PgControl</code>.</p>
</release-item>
<release-item>
<p>Create aliases for test VMs ordered by age.</p>
</release-item>
</release-development-list>
</release-test-list>
</release>

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 =