Increase timeout in gdbclientutils.py to decrease chance of test failing under ASAN.

llvm-svn: 374371
This commit is contained in:
Adrian Prantl 2019-10-10 15:59:17 +00:00
parent 7f0e7c0b1c
commit cba575e8ff
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ class MockGDBServer:
try:
# accept() is stubborn and won't fail even when the socket is
# shutdown, so we'll use a timeout
self._socket.settimeout(2.0)
self._socket.settimeout(20.0)
client, client_addr = self._socket.accept()
self._client = client
# The connected client inherits its timeout from self._socket,