ClickHouse/tests/queries/0_stateless/02204_fractional_progress_bar_long.sh
2022-02-03 16:10:52 +00:00

21 lines
464 B
Bash
Executable File

#!/usr/bin/expect -f
# Tags: no-tsan, no-asan, no-ubsan, no-msan, no-debug, no-fasttest
log_user 0
set timeout 60
match_max 100000
spawn clickhouse-local --progress --query "SELECT sum(number % 100000000 = 12345678 ? sleep(0.1) : 1) FROM numbers(1000000000)"
expect {
"▏" { exit 0 }
"▎" { exit 0 }
"▍" { exit 0 }
"▌" { exit 0 }
"▋" { exit 0 }
"▋" { exit 0 }
"▊" { exit 0 }
"▉" { exit 0 }
timeout { exit 1 }
}