2121
2222# We have optimized this slow test, for more information, see the README of
2323# https://github.com/binderhub-ci-repos/minimal-dockerfile.
24- @pytest .mark .asyncio ( timeout = 900 )
24+ @pytest .mark .timeout ( 900 )
2525@pytest .mark .parametrize (
2626 "slug" ,
2727 [
@@ -102,7 +102,7 @@ async def test_build(app, needs_build, needs_launch, always_build, slug, pytestc
102102 stop .raise_for_status ()
103103
104104
105- @pytest .mark .asyncio ( timeout = 900 )
105+ @pytest .mark .timeout ( 900 )
106106@pytest .mark .parametrize (
107107 "app,build_only_query_param" ,
108108 [
@@ -152,7 +152,7 @@ async def test_build_only(app, build_only_query_param, needs_build):
152152 assert final ["phase" ] == "ready"
153153
154154
155- @pytest .mark .asyncio ( timeout = 120 )
155+ @pytest .mark .timeout ( 120 )
156156@pytest .mark .remote
157157async def test_build_fail (app , needs_build , needs_launch , always_build ):
158158 """
@@ -176,7 +176,7 @@ async def test_build_fail(app, needs_build, needs_launch, always_build):
176176 assert failed_events > 0 , "Should have seen phase 'failed'"
177177
178178
179- @pytest .mark .asyncio ( timeout = 120 )
179+ @pytest .mark .timeout ( 120 )
180180@pytest .mark .parametrize (
181181 "app,build_only_query_param,expected_error_msg" ,
182182 [
@@ -485,7 +485,7 @@ async def test_local_repo2docker_build():
485485 assert docker_client .images .get (name )
486486
487487
488- @pytest .mark .asyncio ( timeout = 20 )
488+ @pytest .mark .timeout ( 20 )
489489async def test_local_repo2docker_build_stop (io_loop ):
490490 q = Queue ()
491491 # We need a slow build here so that we can interrupt it, so pick a large repo that
0 commit comments