From a38877e38255693ffd46c8a574c8f3cc6b51189d Mon Sep 17 00:00:00 2001 From: Romanos Skiadas Date: Thu, 2 Mar 2017 16:58:28 +0200 Subject: Set unlimited network and subnet quotas to fix CI Change-Id: I0804580fa5d89550911a5caf08dc00f9c9523bb1 JIRA: SDNVPN-100 Signed-off-by: Romanos Skiadas --- sdnvpn/test/functest/run_tests.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sdnvpn/test/functest/run_tests.py b/sdnvpn/test/functest/run_tests.py index 5ca7691..e828af3 100644 --- a/sdnvpn/test/functest/run_tests.py +++ b/sdnvpn/test/functest/run_tests.py @@ -10,6 +10,7 @@ import argparse import importlib +import os import sys import time import yaml @@ -42,6 +43,12 @@ def push_results(testname, start_time, end_time, criteria, details): def main(): + # Workaround for https://jira.opnfv.org/projects/SDNVPN/issues/SDNVPN-100 + cmd_line = "neutron quota-update --subnet -1 --network -1" + logger.info("Setting subnet/net 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) -- cgit 1.2.3-korg