Commit f5410970 authored by Łukasz Nowak's avatar Łukasz Nowak

XXX: caddy-frontend/test: Wait a bit for caddy to reload

XXX: Does it really works? Is it this problem?

After running slapos node instance with new certificate some time is needed
for caddy to reload the new certificate.
parent 5270f0f1
......@@ -5514,6 +5514,10 @@ class TestSlaveSlapOSMasterCertificateCompatibilityUpdate(
})
self.runComputerPartition(max_quantity=1)
# give caddy a moment to refresh its config, as sending signal does not
# block until caddy is refreshed
time.sleep(2)
result = self.fakeHTTPSResult(
parameter_dict['domain'], parameter_dict['public-ipv4'], 'test-path')
......
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