Skip to content

Commit 58de94f

Browse files
committed
Set max microversions for ocata
This commit sets the max microversions on the ocata branch so that tempest doesn't try to run tests that require a newer api version. Change-Id: Id033dde91b6a7aa09aca2332fe815fd72be90438
1 parent 572815e commit 58de94f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/tempest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function configure_tempest {
335335
# NOTE- To avoid microversion tests failure on stable branch, we need to change "tempest_compute_max_microversion"
336336
# for stable branch on each release which should be changed from "latest" to max supported version of that release.
337337
local tempest_compute_min_microversion=${TEMPEST_COMPUTE_MIN_MICROVERSION:-None}
338-
local tempest_compute_max_microversion=${TEMPEST_COMPUTE_MAX_MICROVERSION:-"latest"}
338+
local tempest_compute_max_microversion=${TEMPEST_COMPUTE_MAX_MICROVERSION:-"2.42"}
339339
# Reset microversions to None where v2.0 is running which does not support microversion.
340340
# Both "None" means no microversion testing.
341341
if [[ "$TEMPEST_COMPUTE_TYPE" == "compute_legacy" ]]; then
@@ -448,7 +448,7 @@ function configure_tempest {
448448
# TODO(ameade): Remove the api_v3 flag when Mitaka and Liberty are end of life.
449449
iniset $TEMPEST_CONFIG volume-feature-enabled api_v3 True
450450
local tempest_volume_min_microversion=${TEMPEST_VOLUME_MIN_MICROVERSION:-None}
451-
local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"latest"}
451+
local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"3.27"}
452452
if [ "$tempest_volume_min_microversion" == "None" ]; then
453453
inicomment $TEMPEST_CONFIG volume min_microversion
454454
else

0 commit comments

Comments
 (0)