mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
Remove 02492_clickhouse_local_context_uaf test
After some changes this test checks nothing (#69561), and now it is not possible to write this test, since LocalServer::cleanup() waits for the suggest thread, and so ClientBase destructor cannot be called earlier. Fixes: https://github.com/ClickHouse/ClickHouse/issues/69561 Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
e53271ed2f
commit
8b43c10a75
@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CUR_DIR"/../shell_config.sh
|
||||
|
||||
# This is the regression test for clickhouse-local, that may use already freed
|
||||
# context from the suggestion thread on error.
|
||||
|
||||
grep_options=(
|
||||
-e ^$
|
||||
-e 'Cannot create file: /no/such/directory'
|
||||
-e 'Cannot load data for command line suggestions:'
|
||||
-e 'ClickHouse local version'
|
||||
-e 'Empty query'
|
||||
)
|
||||
|
||||
ASAN_OPTIONS=$ASAN_OPTIONS:exitcode=3 $CLICKHOUSE_LOCAL --history_file /no/such/directory |& grep -v "${grep_options[@]}"
|
||||
# on sanitizer error the code will be not 1, but 3
|
||||
echo $?
|
Loading…
Reference in New Issue
Block a user