mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Merge pull request #50542 from azat/tests/fix-expect
Make 01565_query_loop_after_client_error slightly more robust
This commit is contained in:
commit
6241ea3514
@ -24,24 +24,24 @@ expect "\n:) "
|
||||
|
||||
send -- "DROP TABLE IF EXISTS t01565;\n"
|
||||
# NOTE: this is important for -mn mode, you should send "\r" only after reading echoed command
|
||||
expect "DROP"
|
||||
expect "\r\n"
|
||||
send -- "\r"
|
||||
expect "\nOk."
|
||||
expect "\n:)"
|
||||
|
||||
send -- "CREATE TABLE t01565 (c0 String, c1 Int32) ENGINE = Memory() ;\n"
|
||||
expect "CREATE"
|
||||
expect "\r\n"
|
||||
send -- "\r"
|
||||
expect "\nOk."
|
||||
expect "\n:) "
|
||||
|
||||
send -- "INSERT INTO t01565(c0, c1) VALUES (\"1\",1) ;\n"
|
||||
expect "INSERT"
|
||||
expect "\r\n"
|
||||
send -- "\r"
|
||||
expect "\n:) "
|
||||
|
||||
send -- "INSERT INTO t01565(c0, c1) VALUES ('1', 1) ;\n"
|
||||
expect "INSERT"
|
||||
expect "\r\n"
|
||||
send -- "\r"
|
||||
expect "\nOk."
|
||||
expect "\n:) "
|
||||
|
Loading…
Reference in New Issue
Block a user