debug an unreproducible test failure

This commit is contained in:
Alexander Kuzmenkov 2020-11-23 20:48:00 +03:00
parent b05ac888bd
commit 234bd09044

View File

@ -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