diff --git a/tests/queries/0_stateless/02003_memory_limit_in_client.reference b/tests/queries/0_stateless/02003_memory_limit_in_client.reference index 52b628cf6d5..e69de29bb2d 100644 --- a/tests/queries/0_stateless/02003_memory_limit_in_client.reference +++ b/tests/queries/0_stateless/02003_memory_limit_in_client.reference @@ -1,2 +0,0 @@ -Code: 241. DB::Exception: Memory limit (total) exceeded: would use 11.19 MiB (attempt to allocate chunk of 6462982 bytes), maximum: 1.00 B: while receiving packet from localhost:9000. (MEMORY_LIMIT_EXCEEDED) -60000 diff --git a/tests/queries/0_stateless/02003_memory_limit_in_client.sh b/tests/queries/0_stateless/02003_memory_limit_in_client.sh deleted file mode 100755 index b3e2ae57c52..00000000000 --- a/tests/queries/0_stateless/02003_memory_limit_in_client.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) -# shellcheck source=../shell_config.sh -. "$CURDIR"/../shell_config.sh - -# Big quiery. Memory limit -${CLICKHOUSE_CLIENT} --max_memory_usage_in_client=1 --testmode --query "SELECT arrayMap(x -> range(x), range(number)) FROM numbers(1000) -- { serverError 241; }" 2>&1 | grep "Memory limit" - -# small quiery. In max untracked memory range -${CLICKHOUSE_CLIENT} --max_memory_usage_in_client=1 --testmode --query "SELECT * FROM (SELECT * FROM system.numbers LIMIT 600000) as num WHERE num.number=60000"