Set max microversions for newton
This commit sets the max microversions available in newton for cinder and nova. This is needed so when tests are added on master tempest for newer microversions they are properly skipped. Change-Id: Id7ad136a4d79992e9df8d1aa463aff8fc58579ab
This commit is contained in:
@@ -336,7 +336,7 @@ function configure_tempest {
|
|||||||
# NOTE- To avoid microversion tests failure on stable branch, we need to change "tempest_compute_max_microversion"
|
# NOTE- To avoid microversion tests failure on stable branch, we need to change "tempest_compute_max_microversion"
|
||||||
# for stable branch on each release which should be changed from "latest" to max supported version of that release.
|
# for stable branch on each release which should be changed from "latest" to max supported version of that release.
|
||||||
local tempest_compute_min_microversion=${TEMPEST_COMPUTE_MIN_MICROVERSION:-None}
|
local tempest_compute_min_microversion=${TEMPEST_COMPUTE_MIN_MICROVERSION:-None}
|
||||||
local tempest_compute_max_microversion=${TEMPEST_COMPUTE_MAX_MICROVERSION:-"latest"}
|
local tempest_compute_max_microversion=${TEMPEST_COMPUTE_MAX_MICROVERSION:-"2.38"}
|
||||||
# Reset microversions to None where v2.0 is running which does not support microversion.
|
# Reset microversions to None where v2.0 is running which does not support microversion.
|
||||||
# Both "None" means no microversion testing.
|
# Both "None" means no microversion testing.
|
||||||
if [[ "$TEMPEST_COMPUTE_TYPE" == "compute_legacy" ]]; then
|
if [[ "$TEMPEST_COMPUTE_TYPE" == "compute_legacy" ]]; then
|
||||||
@@ -438,7 +438,7 @@ function configure_tempest {
|
|||||||
# TODO(ameade): Remove the api_v3 flag when Mitaka and Liberty are end of life.
|
# TODO(ameade): Remove the api_v3 flag when Mitaka and Liberty are end of life.
|
||||||
iniset $TEMPEST_CONFIG volume-feature-enabled api_v3 True
|
iniset $TEMPEST_CONFIG volume-feature-enabled api_v3 True
|
||||||
local tempest_volume_min_microversion=${TEMPEST_VOLUME_MIN_MICROVERSION:-None}
|
local tempest_volume_min_microversion=${TEMPEST_VOLUME_MIN_MICROVERSION:-None}
|
||||||
local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"latest"}
|
local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"3.15"}
|
||||||
if [ "$tempest_volume_min_microversion" == "None" ]; then
|
if [ "$tempest_volume_min_microversion" == "None" ]; then
|
||||||
inicomment $TEMPEST_CONFIG volume min_microversion
|
inicomment $TEMPEST_CONFIG volume min_microversion
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user