From: Marek VavruĊĦa Date: Mon, 19 Jan 2015 10:53:44 +0000 (+0100) Subject: tests/integration: decreased poll time for latency X-Git-Tag: v1.0.0-beta1~363^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14c05ee2033f4424b44ae4e9505458f0301846b6;p=thirdparty%2Fknot-resolver.git tests/integration: decreased poll time for latency it's not running while we're in the C code anyway because of GIL --- diff --git a/tests/pydnstest/testserver.py b/tests/pydnstest/testserver.py index 33bdce6f6..4f0009d82 100644 --- a/tests/pydnstest/testserver.py +++ b/tests/pydnstest/testserver.py @@ -66,7 +66,7 @@ class TestServer: self.is_active = True clients = [self.sock] while self.is_active and len(clients): - to_read, _, to_error = select.select(clients, [], clients, 0.5) + to_read, _, to_error = select.select(clients, [], clients, 0.1) for sock in to_read: if sock == self.sock: clients.append(sock.accept()[0])