summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortomsou <soth@intracom-telecom.com>2017-03-15 08:41:30 +0000
committertomsou <soth@intracom-telecom.com>2017-03-15 08:43:24 +0000
commit38e72ad1c9e4fbf4421e6314ab9a5468a5b29d34 (patch)
tree78d7ffb982cd4a2fe05ccfe59413446ac6cd728a
parent1ad4cd4d35bcd0d4d9898650eb0452b184b55f77 (diff)
Set unlimited instance quotas to fix CI
JIRA: SDNVPN-115 Change-Id: I4e24800e897702b8b5aa5ef0227925d66d552f02 Signed-off-by: tomsou <soth@intracom-telecom.com>
-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)