Fix and reformat several queries
This commit is contained in:
@@ -655,6 +655,7 @@ def test_queries():
|
||||
for name, metric in config["metrics"].items():
|
||||
# If the metric has arguments to use while testing, grab those
|
||||
args = metric.get("test_args", {})
|
||||
print("Testing {} [{}]".format(name, ", ".join(["{}={}".format(key, value) for key, value in args.items()])))
|
||||
# Run the query without the ability to retry.
|
||||
try:
|
||||
res = sample_metric(dbname, name, args, retry=False)
|
||||
|
||||
Reference in New Issue
Block a user