Skip to content

Commit

Permalink
fixing lost connection test case
Browse files Browse the repository at this point in the history
  • Loading branch information
italorossi committed Jun 15, 2016
1 parent 8936f6c commit ffcfc92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/fakeeslserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,11 @@ def disconnect(self):
self._client_socket.close()

def stop(self):
self._client_socket.close()
self.server.close()
if self._running:
self._running = False
self._read_thread.join(5)
self.server.close()


def main():
Expand Down

0 comments on commit ffcfc92

Please sign in to comment.