Skip to content

Apache DataFusion SQL Query Engine

ARROW-5544: [Archery] Don't return non-zero on regressions

François Saint-Jacquesd7d48f180f58
diff --git a/dev/archery/archery/cli.py b/dev/archery/archery/cli.py
index 8f0f1adee6..f334b03cc9 100644
--- a/dev/archery/archery/cli.py
+++ b/dev/archery/archery/cli.py
@@ -383,17 +383,13 @@ def benchmark_diff(ctx, src, preserve, suite_filter, benchmark_filter,
src, root, baseline, conf,
suite_filter=suite_filter, benchmark_filter=benchmark_filter)
- regressions = 0
runner_comp = RunnerComparator(runner_cont, runner_base, threshold)
# TODO(kszucs): test that the output is properly formatted jsonlines
for comparator in runner_comp.comparisons:
- regressions += comparator.regression
json.dump(comparator, output, cls=JsonEncoder)
output.write("\n")
- sys.exit(regressions)
-
if __name__ == "__main__":
archery(obj={})