Commit 9631b57e authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend/test: Fix a test

We need to sleep to give chance for Caddy to pick up the signal.
parent 4ea4d3ab
......@@ -4240,6 +4240,10 @@ class TestQuicEnabled(SlaveHttpFrontendTestCase, TestDataMixin):
if 'frontend_caddy' in q['name']][0]
os.kill(caddy_pid, signal.SIGUSR1)
# give caddy a moment to refresh its config, as sending signal does not
# block until caddy is refreshed
time.sleep(2)
assertQUIC()
......
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