summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortomsou <soth@intracom-telecom.com>2017-03-15 08:41:30 +0000
committerNikolas Hermanns <nikolas.hermanns@ericsson.com>2017-03-16 12:27:36 +0000
commitcb0925cebb85d8d713d6d620c70916c95019d046 (patch)
tree78d7ffb982cd4a2fe05ccfe59413446ac6cd728a
parent08003569c5c84b4676c4306919f1937f96000418 (diff)
Set unlimited instance quotas to fix CI
JIRA: SDNVPN-115 Change-Id: I4e24800e897702b8b5aa5ef0227925d66d552f02 Signed-off-by: tomsou <soth@intracom-telecom.com> (cherry picked from commit 38e72ad1c9e4fbf4421e6314ab9a5468a5b29d34)
-rw-r--r--sdnvpn/test/functest/run_tests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sdnvpn/test/functest/run_tests.py b/sdnvpn/test/functest/run_tests.py
index e828af3..9acfa0f 100644
--- a/sdnvpn/test/functest/run_tests.py
+++ b/sdnvpn/test/functest/run_tests.py
@@ -50,6 +50,13 @@ def main():
output = cmd.read()
logger.debug(output)
+ # Workaround for https://jira.opnfv.org/projects/SDNVPN/issues/SDNVPN-115
+ cmd_line = "nova quota-class-update --instances -1 default"
+ logger.info("Setting instances quota to unlimited : %s" % cmd_line)
+ cmd = os.popen(cmd_line)
+ output = cmd.read()
+ logger.debug(output)
+
with open(COMMON_CONFIG.config_file) as f:
config_yaml = yaml.safe_load(f)