@@ -95,6 +95,7 @@ def test_too_open_user_dir(self) -> None:
9595 )
9696 self .assertWaitFor (
9797 lambda : wanted in instance .getCLILogContents (),
98+ timeout = 10 ,
9899 get_debug_output = lambda : instance .getCLILogContents (),
99100 )
100101
@@ -123,6 +124,7 @@ def test_invalid_sock_group(self) -> None:
123124 self .assertWaitFor (
124125 lambda : (wanted in instance .getCLILogContents ())
125126 or (we_love_ldap in instance .getCLILogContents ()),
127+ timeout = 10 ,
126128 get_debug_output = lambda : str (ctx .exception )
127129 + "\n "
128130 + instance .getCLILogContents (),
@@ -137,6 +139,7 @@ def test_user_not_in_sock_group(self) -> None:
137139 wanted = "setting up group '%s' failed" % group .gr_name
138140 self .assertWaitFor (
139141 lambda : wanted in instance .getCLILogContents (),
142+ timeout = 10 ,
140143 get_debug_output = lambda : instance .getCLILogContents (),
141144 )
142145
@@ -188,7 +191,9 @@ def test_user_previously_in_sock_group(self) -> None:
188191 non_member_group .gr_name ,
189192 )
190193 )
191- self .assertWaitFor (lambda : wanted in instance .getServerLogContents ())
194+ self .assertWaitFor (
195+ lambda : wanted in instance .getServerLogContents (), timeout = 10
196+ )
192197
193198 def test_invalid_sock_access (self ) -> None :
194199 instance = self ._new_instance ({"sock_access" : "bogus" })
@@ -198,6 +203,7 @@ def test_invalid_sock_access(self) -> None:
198203 wanted = "Expected config value sock_access to be an object"
199204 self .assertWaitFor (
200205 lambda : wanted in instance .getCLILogContents (),
206+ timeout = 10 ,
201207 get_debug_output = lambda : instance .getCLILogContents (),
202208 )
203209
@@ -208,6 +214,7 @@ def test_invalid_sock_access(self) -> None:
208214 wanted = "Expected config value sock_access.group to be a boolean"
209215 self .assertWaitFor (
210216 lambda : wanted in instance .getCLILogContents (),
217+ timeout = 10 ,
211218 get_debug_output = lambda : instance .getCLILogContents (),
212219 )
213220
0 commit comments