Code Review
/
bottlenecks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Adapt monitor to apex
[bottlenecks.git]
/
utils
/
dashboard
/
uploader.py
diff --git
a/utils/dashboard/uploader.py
b/utils/dashboard/uploader.py
index
a468656
..
97ffd38
100755
(executable)
--- a/
utils/dashboard/uploader.py
+++ b/
utils/dashboard/uploader.py
@@
-51,7
+51,8
@@
class Uploader(object):
def _test():
def _test():
- #data = '{"details": [{"client": 200, "throughput": 20}, {"client": 300, "throughput": 20}], "case_name": "rubbos"}'
+ # data = '{"details": [{"client": 200, "throughput": 20},
+ # {"client": 300, "throughput": 20}], "case_name": "rubbos"}'
if len(sys.argv) < 2:
print ("no argumens input!!")
exit(1)
if len(sys.argv) < 2:
print ("no argumens input!!")
exit(1)
@@
-60,5
+61,6
@@
def _test():
data = json.load(stream)
Uploader().upload_result(data)
data = json.load(stream)
Uploader().upload_result(data)
+
if __name__ == "__main__":
_test()
if __name__ == "__main__":
_test()