File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,9 @@ def resource_warning_caught():
8787 return count >= 2
8888
8989 try :
90- await async_wait_until (resource_warning_caught , "catch resource warning" )
90+ await async_wait_until (
91+ resource_warning_caught , "catch resource warning" , timeout = 30
92+ )
9193 except AssertionError as exc :
9294 if "catch resource warning" not in str (exc ):
9395 raise
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ def resource_warning_caught():
8585 return count >= 2
8686
8787 try :
88- wait_until (resource_warning_caught , "catch resource warning" )
88+ wait_until (resource_warning_caught , "catch resource warning" , timeout = 30 )
8989 except AssertionError as exc :
9090 if "catch resource warning" not in str (exc ):
9191 raise
You can’t perform that action at this time.
0 commit comments