Update 00964_live_view_watch_events_heartbeat.py

This commit is contained in:
alexey-milovidov 2020-04-01 05:13:20 +03:00 committed by GitHub
parent b22060b30d
commit 55032c6fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,9 +36,9 @@ with client(name='client1>', log=log) as client1, client(name='client2>', log=lo
client1.expect('1.*' + end_of_block)
client2.send('INSERT INTO test.mt VALUES (2),(3)')
client1.expect('[23].*' + end_of_block)
client1.expect('Progress: [23].00 rows.*\)')
client1.expect('Progress: [23]\.00 rows.*\)')
# wait for heartbeat
client1.expect('Progress: [23].00 rows.*\)')
client1.expect('Progress: [23]\.00 rows.*\)')
# send Ctrl-C
client1.send('\x03', eol='')
match = client1.expect('(%s)|([#\$] )' % prompt)