Skip to content

Commit

Permalink
Add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov committed Feb 3, 2022
1 parent f047a28 commit 6d47031
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Empty file.
20 changes: 20 additions & 0 deletions tests/queries/0_stateless/02204_fractional_progress_bar.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/expect -f
# Tags: 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 }
}

0 comments on commit 6d47031

Please sign in to comment.