(test_env)
| 598 | |
| 599 | @test(timeout=0.1) |
| 600 | def meta_test_timeout(test_env): |
| 601 | server = test_env.server() |
| 602 | try: |
| 603 | server.wait_for_exit(timeout=1) |
| 604 | except TimeoutError as e: |
| 605 | if str(e) != "test timeout": |
| 606 | raise |
| 607 | else: |
| 608 | raise AssertionError("timeout should have triggered") |
| 609 | # with the global timeout disabled, better exit the test quickly without waiting |
| 610 | |
| 611 | |
| 612 | @test |
nothing calls this directly
no test coverage detected