mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Update 00964_live_view_watch_events_heartbeat.py
This commit is contained in:
parent
b22060b30d
commit
55032c6fb9
@ -36,9 +36,9 @@ with client(name='client1>', log=log) as client1, client(name='client2>', log=lo
|
|||||||
client1.expect('1.*' + end_of_block)
|
client1.expect('1.*' + end_of_block)
|
||||||
client2.send('INSERT INTO test.mt VALUES (2),(3)')
|
client2.send('INSERT INTO test.mt VALUES (2),(3)')
|
||||||
client1.expect('[23].*' + end_of_block)
|
client1.expect('[23].*' + end_of_block)
|
||||||
client1.expect('Progress: [23].00 rows.*\)')
|
client1.expect('Progress: [23]\.00 rows.*\)')
|
||||||
# wait for heartbeat
|
# wait for heartbeat
|
||||||
client1.expect('Progress: [23].00 rows.*\)')
|
client1.expect('Progress: [23]\.00 rows.*\)')
|
||||||
# send Ctrl-C
|
# send Ctrl-C
|
||||||
client1.send('\x03', eol='')
|
client1.send('\x03', eol='')
|
||||||
match = client1.expect('(%s)|([#\$] )' % prompt)
|
match = client1.expect('(%s)|([#\$] )' % prompt)
|
||||||
|
Loading…
Reference in New Issue
Block a user