Commit 8a0dab1a authored by Patrick Griffis's avatar Patrick Griffis 💬
Browse files

http2-test: Don't have timeout when ran under asan

parent c26c9ca8
Pipeline #285793 passed with stages
in 5 minutes and 9 seconds
......@@ -2,6 +2,7 @@
import asyncio
from functools import wraps
import os
from secrets import compare_digest
import sys
from urllib.parse import urlparse
......@@ -20,6 +21,10 @@ loop = None
def set_timeout():
global timer_handle
# ASAN is very slow, just don't have a timer.
if 'ASAN_OPTIONS' in os.environ:
return
if timer_handle:
timer_handle.cancel()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment