From 12b5dda39a6d44ebdaf3a1cddf62e6b719d8399e Mon Sep 17 00:00:00 2001
From: =?utf8?q?C=C3=A9dric=20Ollivier?= <cedric.ollivier@orange.com>
Date: Mon, 22 Apr 2019 13:35:28 +0200
Subject: [PATCH] Set max_microversion for placement and volume
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

It sets max_microversion to latest because if both values are not
specified, Tempest avoids tests which require a microversion [1].

It completes the previous change about nova [2].

[1] https://docs.openstack.org/tempest/latest/sampleconf.html
[2] https://gerrit.opnfv.org/gerrit/#/c/67318/

Change-Id: Ieab56a239077476dd9a0e1ee97ac4293c4075f5c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit b9048a25355e1d6c29c84ca10a3d859841468f50)
---
 functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml b/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml
index 57424f08b..5d3bba328 100644
--- a/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml
+++ b/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml
@@ -15,7 +15,10 @@ identity-feature-enabled:
 image-feature-enabled:
     api_v2: true
     api_v1: false
+placement:
+    max_microversion: 1.30
 volume:
+    max_microversion: 3.55
     storage_protocol: iSCSI
 volume-feature-enabled:
     backup: false
-- 
2.16.6