IMPALA-7873: Fix flakiness in TestExchangeMemUsage IMPALA-7367 reduced the memory requirement of the query tested in test_exchange_mem_usage_scaling. This change reduces the mem limit to ensure that the query runs out of memory as expected.
Testing: Ran the test 100 times in a loop without any failures. Change-Id: Ib2f063fb88ebf0c7f994b55ecfc860d81726fdd8 Reviewed-on: http://gerrit.cloudera.org:8080/11965 Reviewed-by: Tim Armstrong <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/impala/repo Commit: http://git-wip-us.apache.org/repos/asf/impala/commit/5e2dcd25 Tree: http://git-wip-us.apache.org/repos/asf/impala/tree/5e2dcd25 Diff: http://git-wip-us.apache.org/repos/asf/impala/diff/5e2dcd25 Branch: refs/heads/master Commit: 5e2dcd25d855711508088fd2f9f6e2bf7523fdfc Parents: 9ef9dac Author: poojanilangekar <[email protected]> Authored: Tue Nov 20 11:38:49 2018 -0800 Committer: Joe McDonnell <[email protected]> Committed: Wed Nov 21 00:08:25 2018 +0000 ---------------------------------------------------------------------- .../functional-query/queries/QueryTest/exchange-mem-scaling.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/impala/blob/5e2dcd25/testdata/workloads/functional-query/queries/QueryTest/exchange-mem-scaling.test ---------------------------------------------------------------------- diff --git a/testdata/workloads/functional-query/queries/QueryTest/exchange-mem-scaling.test b/testdata/workloads/functional-query/queries/QueryTest/exchange-mem-scaling.test index 84ffe34..4affa6e 100644 --- a/testdata/workloads/functional-query/queries/QueryTest/exchange-mem-scaling.test +++ b/testdata/workloads/functional-query/queries/QueryTest/exchange-mem-scaling.test @@ -4,7 +4,7 @@ # it hits the memory limit in the exchange node when allocating receiver-side # buffers. It's also possible but less likely that this will hit a memory limit # in the scan nodes. -set mem_limit=200m; +set mem_limit=170m; set num_scanner_threads=1; select * from tpch_parquet.lineitem l1
