(url, fail_ok=False)
| 95 | client = HTTPClient(SimpleAsyncHTTPClient) |
| 96 | |
| 97 | def fetch(url, fail_ok=False): |
| 98 | try: |
| 99 | return client.fetch(get_url(url)) |
| 100 | except HTTPError as e: |
| 101 | if not (fail_ok and e.code == 599): |
| 102 | raise |
| 103 | |
| 104 | # Make two processes exit abnormally |
| 105 | fetch("/?exit=2", fail_ok=True) |
no outgoing calls
no test coverage detected