ClickHouse/tests/queries/0_stateless/02204_fractional_progress_bar_long.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
464 B
Bash
Raw Normal View History

2022-02-03 02:26:00 +00:00
#!/usr/bin/expect -f
2022-02-03 16:10:52 +00:00
# Tags: no-tsan, no-asan, no-ubsan, no-msan, no-debug, no-fasttest
2022-02-03 02:26:00 +00:00
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 }
}