Commit 9631b57e by Łukasz Nowak

caddy-frontend/test: Fix a test

We need to sleep to give chance for Caddy to pick up the signal.
1 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()
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!