mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
further optimize test by using http client instead of clickhouse-client
This commit is contained in:
parent
9f7f6c6f93
commit
313b6b533f
@ -16,12 +16,12 @@ ssh_key="-----BEGIN OPENSSH PRIVATE KEY-----
|
||||
|
||||
function test_login_no_pwd
|
||||
{
|
||||
${CLICKHOUSE_CLIENT} --user $1 --query "select 1"
|
||||
${CLICKHOUSE_CURL} -sS "${CLICKHOUSE_URL}&user=$1" -d "select 1"
|
||||
}
|
||||
|
||||
function test_login_pwd
|
||||
{
|
||||
${CLICKHOUSE_CLIENT} --user $1 --password $2 --query "select 1"
|
||||
${CLICKHOUSE_CURL} -sS "${CLICKHOUSE_URL}&user=$1&password=$2" -d "select 1"
|
||||
}
|
||||
|
||||
function test_login_pwd_expect_error
|
||||
|
Loading…
Reference in New Issue
Block a user