From 70dc19dfdb4e4ef7f7acd79f1aee6ef2942e15db Mon Sep 17 00:00:00 2001 From: jeremy Date: Thu, 3 Nov 2022 11:03:21 +0100 Subject: [PATCH] Mgbench: apply filtering on results from client --- tests/mgbench/runners.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/mgbench/runners.py b/tests/mgbench/runners.py index 067a58006..363595c69 100644 --- a/tests/mgbench/runners.py +++ b/tests/mgbench/runners.py @@ -155,4 +155,5 @@ class Client: args = self._get_args(input=file_path, num_workers=num_workers, queries_json=queries_json) ret = subprocess.run(args, stdout=subprocess.PIPE, check=True) data = ret.stdout.decode("utf-8").strip().split("\n") + data = [x for x in data if not x.startswith("[")] return list(map(json.loads, data))