mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
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:
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user