mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
trace: make test timeout after 2min
Before this commit, the test was hanging forever when run on a Windows host. This should resolve that issue. Signed-off-by: Daniel Kutik <daniel.kutik@lavawerk.com> Change-Id: Id9ea6d54926b797db3d2978a2ae2930088201eec Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/353125 Reviewed-by: Mike Frysinger <vapier@google.com>
This commit is contained in:
parent
4364a79088
commit
eda6b1ead7
@ -369,7 +369,7 @@ class EventLogTestCase(unittest.TestCase):
|
|||||||
server_thread.start()
|
server_thread.start()
|
||||||
|
|
||||||
with server_ready:
|
with server_ready:
|
||||||
server_ready.wait()
|
server_ready.wait(timeout=120)
|
||||||
|
|
||||||
self._event_log_module.StartEvent()
|
self._event_log_module.StartEvent()
|
||||||
path = self._event_log_module.Write(path=f'af_unix:{socket_path}')
|
path = self._event_log_module.Write(path=f'af_unix:{socket_path}')
|
||||||
|
Loading…
Reference in New Issue
Block a user