Refactor system-test dir structure and add stability test (#7530)

This commit is contained in:
Dan Albert
2019-12-17 14:58:10 -05:00
committed by GitHub
parent 3f541df669
commit 107360a001
17 changed files with 34 additions and 16 deletions

View File

@ -0,0 +1,13 @@
#!/usr/bin/env python
import sys, json
data=json.load(sys.stdin)
if 'results' in data:
for result in data['results']:
if 'series' in result:
print result['series'][0]['columns'][1].encode() + ': ' + str(result['series'][0]['values'][0][1])
else:
print "An expected result from CURL request is missing"
else:
print "No results returned from CURL request"