validate:launcher: Make the IPC server socket blocking

0.0 does not mean blocking in python3 and makes everything failling
on windows.
This commit is contained in:
Thibault Saunier 2017-01-03 16:25:47 -03:00
parent f24e22446b
commit ca1f8a03e0

View file

@ -620,7 +620,7 @@ class GstValidateTest(Test):
def server_wrapper(self, ready):
self.server = socketserver.TCPServer(('localhost', 0), GstValidateListener)
self.server.socket.settimeout(0.0)
self.server.socket.settimeout(None)
self.server.test = self
self.serverport = self.server.socket.getsockname()[1]
self.info("%s server port: %s" % (self, self.serverport))