mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-22 09:40:49 +00:00
* Increasing timeout from 2 to 20 sec.
* Style fix
This commit is contained in:
parent
576393272b
commit
825c21f29a
@ -18,7 +18,7 @@ with client(name='client1>', log=log) as client1, client(name='client2>', log=lo
|
||||
|
||||
client1.send('DROP TABLE IF EXISTS test.lv')
|
||||
client1.expect(prompt)
|
||||
client1.send(' DROP TABLE IF EXISTS test.mt')
|
||||
client1.send('DROP TABLE IF EXISTS test.mt')
|
||||
client1.expect(prompt)
|
||||
client1.send('CREATE TABLE test.mt (a Int32) Engine=MergeTree order by tuple()')
|
||||
client1.expect(prompt)
|
||||
|
@ -17,5 +17,5 @@ def client(command=None, name='', log=None):
|
||||
client = uexpect.spawn(command)
|
||||
client.eol('\r')
|
||||
client.logger(log, prefix=name)
|
||||
client.timeout(2)
|
||||
client.timeout(20)
|
||||
return client
|
||||
|
@ -10,5 +10,5 @@ import httpexpect
|
||||
def client(request, name='', log=None):
|
||||
client = httpexpect.spawn({'host':'localhost','port':8123}, request)
|
||||
client.logger(log, prefix=name)
|
||||
client.timeout(2)
|
||||
client.timeout(20)
|
||||
return client
|
||||
|
Loading…
Reference in New Issue
Block a user