mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
debug an unreproducible test failure
This commit is contained in:
parent
b05ac888bd
commit
234bd09044
@ -16,6 +16,7 @@ $CLICKHOUSE_CLIENT --user user --password hello --query "SELECT sleep(1)" &
|
||||
# Wait for query to start executing. At that time, the password should be cleared.
|
||||
while true; do
|
||||
sleep 0.1
|
||||
$CLICKHOUSE_CLIENT --query "SHOW PROCESSLIST"
|
||||
$CLICKHOUSE_CLIENT --query "SHOW PROCESSLIST" | grep -q 'SELECT sleep(1)' && break;
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user