]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
tests/integration: decreased poll time for latency
authorMarek Vavruša <marek.vavrusa@nic.cz>
Mon, 19 Jan 2015 10:53:44 +0000 (11:53 +0100)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Mon, 19 Jan 2015 11:08:59 +0000 (12:08 +0100)
it's not running while we're in the C code anyway because of GIL

tests/pydnstest/testserver.py

index 33bdce6f680dbe7dfcbf241ecf014e8f7b8229c8..4f0009d825113fc725e113d967af87dd60b35bfe 100644 (file)
@@ -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])