From 825c21f29a38e33debe9c931e6435cef84dba2c3 Mon Sep 17 00:00:00 2001 From: Vitaliy Zakaznikov Date: Thu, 13 Jun 2019 06:36:59 -0400 Subject: [PATCH] * Increasing timeout from 2 to 20 sec. * Style fix --- .../queries/0_stateless/00962_temporary_live_view_watch_live.py | 2 +- dbms/tests/queries/0_stateless/helpers/client.py | 2 +- dbms/tests/queries/0_stateless/helpers/httpclient.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dbms/tests/queries/0_stateless/00962_temporary_live_view_watch_live.py b/dbms/tests/queries/0_stateless/00962_temporary_live_view_watch_live.py index 48311d890c5..1967284c38b 100755 --- a/dbms/tests/queries/0_stateless/00962_temporary_live_view_watch_live.py +++ b/dbms/tests/queries/0_stateless/00962_temporary_live_view_watch_live.py @@ -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) diff --git a/dbms/tests/queries/0_stateless/helpers/client.py b/dbms/tests/queries/0_stateless/helpers/client.py index b509a321cee..59ea3d898ea 100644 --- a/dbms/tests/queries/0_stateless/helpers/client.py +++ b/dbms/tests/queries/0_stateless/helpers/client.py @@ -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 diff --git a/dbms/tests/queries/0_stateless/helpers/httpclient.py b/dbms/tests/queries/0_stateless/helpers/httpclient.py index 111841ba708..a42fad2cbc3 100644 --- a/dbms/tests/queries/0_stateless/helpers/httpclient.py +++ b/dbms/tests/queries/0_stateless/helpers/httpclient.py @@ -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