summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testsuites/run_testsuite.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/run_testsuite.py b/testsuites/run_testsuite.py
index 1e8d8953..bc255c46 100644
--- a/testsuites/run_testsuite.py
+++ b/testsuites/run_testsuite.py
@@ -61,7 +61,9 @@ def report(testcase, start_date, stop_date, criteria, details_doc):
}
results['details'] = {"test_results": details_doc}
- target = "http://testresults.opnfv.org/test/api/v1/results"
+ target = os.environ.get(
+ 'REPORTING_DB',
+ 'http://testresults.opnfv.org/test/api/v1/results')
timeout = 5
try: