diff options
author | Romanos Skiadas <rski@intracom-telecom.com> | 2017-03-02 16:58:28 +0200 |
---|---|---|
committer | Romanos Skiadas <rski@intracom-telecom.com> | 2017-03-02 16:59:54 +0200 |
commit | a38877e38255693ffd46c8a574c8f3cc6b51189d (patch) | |
tree | 7ab2e14fa646b0cc5def1b1785f93696d9c2eb43 | |
parent | 71273a2b8d51725be2743010fb65fb46229dd10c (diff) |
Set unlimited network and subnet quotas to fix CI
Change-Id: I0804580fa5d89550911a5caf08dc00f9c9523bb1
JIRA: SDNVPN-100
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
-rw-r--r-- | sdnvpn/test/functest/run_tests.py | 7 |
1 files changed, 7 insertions, 0 deletions
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) |