X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=testsuites%2Frun_testsuite.py;fp=testsuites%2Frun_testsuite.py;h=bc255c46259a500778b531ccb89afaf799136e30;hb=fd66a0466e931e28ebd1f0925e9c9a0c28912a02;hp=1e8d895386f46f5d3eb938f39cb64a00bbbaba92;hpb=0b47f013a0af6549cee590762bbd979729de0ead;p=bottlenecks.git 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: