From eda6b1ead73e13aa15226614f16e7e748e40c118 Mon Sep 17 00:00:00 2001 From: Daniel Kutik Date: Fri, 25 Nov 2022 17:15:39 +0100 Subject: [PATCH] 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 Change-Id: Id9ea6d54926b797db3d2978a2ae2930088201eec Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/353125 Reviewed-by: Mike Frysinger --- tests/test_git_trace2_event_log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_git_trace2_event_log.py b/tests/test_git_trace2_event_log.py index 0623d32e..7eb5178a 100644 --- a/tests/test_git_trace2_event_log.py +++ b/tests/test_git_trace2_event_log.py @@ -369,7 +369,7 @@ class EventLogTestCase(unittest.TestCase): server_thread.start() with server_ready: - server_ready.wait() + server_ready.wait(timeout=120) self._event_log_module.StartEvent() path = self._event_log_module.Write(path=f'af_unix:{socket_path}')