E2E: update Consul/Vault compat versions tested (#26369)

Update our E2E compatibility test for Consul and Vault to only include back to
the oldest-supported LTS versions of Consul and Vault. This will still leave
a few unsupported non-LTS versions in the matrix between the two oldest LTS, but
this is a small number of tests and fixing it would mean hard-coding the LTS
support matrix in our tests.
This commit is contained in:
Tim Gross
2025-07-28 12:03:30 -04:00
committed by GitHub
parent d418260b6d
commit 6e5ecb6bb0
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ import (
const ( const (
binDir = "consul-bins" binDir = "consul-bins"
minConsulVersion = "1.16.0" minConsulVersion = "1.18.0" // oldest supported LTS
// environment variable to pick only one Consul version for testing // environment variable to pick only one Consul version for testing
exactConsulVersionEnv = "NOMAD_E2E_CONSULCOMPAT_CONSUL_VERSION" exactConsulVersionEnv = "NOMAD_E2E_CONSULCOMPAT_CONSUL_VERSION"

View File

@@ -292,7 +292,7 @@ func downloadVaultBuild(t *testing.T, b build) {
} }
func getMinimumVersion(t *testing.T) *version.Version { func getMinimumVersion(t *testing.T) *version.Version {
v, err := version.NewVersion("1.11.0") v, err := version.NewVersion("1.16.0") // oldest supported LTS
must.NoError(t, err) must.NoError(t, err)
return v return v
} }