Merge pull request #15945 from azat/tests-lv-fix-flackiness

Fix flackiness of LIVE VIEW tests by increasing timeout for HTTPConnection
This commit is contained in:
alexey-milovidov 2020-10-14 14:13:40 +03:00 committed by GitHub
commit f3655fb9eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ sys.path.insert(0, os.path.join(CURDIR))
import httpexpect import httpexpect
def client(request, name='', log=None): def client(request, name='', log=None):
client = httpexpect.spawn({'host':'localhost','port':8123,'timeout':1}, request) client = httpexpect.spawn({'host':'localhost','port':8123,'timeout':30}, request)
client.logger(log, prefix=name) client.logger(log, prefix=name)
client.timeout(20) client.timeout(20)
return client return client