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.pyindex 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 = 0runner_comp = RunnerComparator(runner_cont, runner_base, threshold)# TODO(kszucs): test that the output is properly formatted jsonlinesfor comparator in runner_comp.comparisons:- regressions += comparator.regressionjson.dump(comparator, output, cls=JsonEncoder)output.write("\n")- sys.exit(regressions)-if __name__ == "__main__":archery(obj={})