Code Review
/
bottlenecks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0b47f01
)
Add support for arbitary DB reporting
09/38509/1
author
Yang Yu
<Gabriel.yuyang@huawei.com>
Tue, 1 Aug 2017 07:01:49 +0000
(15:01 +0800)
committer
Yang Yu
<Gabriel.yuyang@huawei.com>
Tue, 1 Aug 2017 07:03:28 +0000
(15:03 +0800)
JIRA: BOTTLENECK-158
Support for arbitary DB reporting. TestperfDB and Dovetail DB are
within currently consideration.
Change-Id: I4373e5f295d26155e2b4fda59044cc4e922c3557
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
testsuites/run_testsuite.py
patch
|
blob
|
history
diff --git
a/testsuites/run_testsuite.py
b/testsuites/run_testsuite.py
index
1e8d895
..
bc255c4
100644
(file)
--- 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: