add a test to limit client max opening fd

This commit is contained in:
ducle.canh 2023-06-21 12:11:13 +08:00
parent 2abd580070
commit 50002653fe
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh
. "$CUR_DIR"/../shell_config.sh
ulimit -n 1024
${CLICKHOUSE_CLIENT} --query "SELECT 1"