mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Now the test reproduces the issue clearly
This commit is contained in:
parent
ad3a475346
commit
a924e1c5fb
@ -12,7 +12,7 @@ $CLICKHOUSE_CLIENT -q "CREATE TABLE alter_table (a UInt8, b Int16, c Float32, d
|
||||
|
||||
function thread1()
|
||||
{
|
||||
while true; do $CLICKHOUSE_CLIENT --query "SELECT * FROM system.columns FORMAT Null"; done
|
||||
while true; do $CLICKHOUSE_CLIENT --query "SELECT name FROM system.columns UNION ALL SELECT name FROM system.columns FORMAT Null"; done
|
||||
}
|
||||
|
||||
function thread2()
|
||||
@ -24,8 +24,14 @@ function thread2()
|
||||
export -f thread1;
|
||||
export -f thread2;
|
||||
|
||||
timeout 5 bash -c thread1 &
|
||||
timeout 5 bash -c thread2 &
|
||||
timeout 5 bash -c thread1 > /dev/null &
|
||||
timeout 5 bash -c thread1 > /dev/null &
|
||||
timeout 5 bash -c thread1 > /dev/null &
|
||||
timeout 5 bash -c thread1 > /dev/null &
|
||||
timeout 5 bash -c thread2 > /dev/null &
|
||||
timeout 5 bash -c thread2 > /dev/null &
|
||||
timeout 5 bash -c thread2 > /dev/null &
|
||||
timeout 5 bash -c thread2 > /dev/null &
|
||||
|
||||
wait
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user