mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 04:22:03 +00:00
72dd5a2d2f
Sad (since I wanted to make the test a little bit cleaner/easier to understand), but you cannot use send_user in tests, since expect send_user works only if stdin is a tty, so the following will fail (so as in CI): $ ./tests/clickhouse-test --database default 02160 < /dev/null Using queries from '/src/ch/clickhouse-upstream/tests/queries' directory Using clickhouse-client as client program (expecting split build) Connecting to ClickHouse server... OK Running 1 stateless tests (MainProcess). 02160_client_autocomplete_parse_query: [ FAIL ] - return code: 1 send: spawn id exp0 not open while executing "send_user "Completion loaded\n"" (file "/src/ch/clickhouse-upstream/tests/queries/0_stateless/02160_client_autocomplete_parse_query.expect" line 40) , result: stdout: Database: default
0 lines
Plaintext
0 lines
Plaintext