nixos/tests/acme: fix on i686, improve timing (#40410)
... to prevent non-deterministic failures
This commit is contained in:
parent
66d204188b
commit
642bed4b3e
|
@ -54,9 +54,11 @@ in import ./make-test.nix {
|
|||
};
|
||||
|
||||
testScript = ''
|
||||
$letsencrypt->waitForUnit("default.target");
|
||||
$letsencrypt->waitForUnit("boulder.service");
|
||||
startAll;
|
||||
$webserver->waitForUnit("default.target");
|
||||
$webserver->waitForUnit("acme-certificates.target");
|
||||
$client->waitForUnit("default.target");
|
||||
$client->succeed('curl https://example.com/ | grep -qF "hello world"');
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -386,6 +386,10 @@ in {
|
|||
|
||||
services.nginx.enable = true;
|
||||
services.nginx.recommendedProxySettings = true;
|
||||
# This fixes the test on i686
|
||||
services.nginx.commonHttpConfig = ''
|
||||
server_names_hash_bucket_size 64;
|
||||
'';
|
||||
services.nginx.virtualHosts.${wfeDomain} = {
|
||||
onlySSL = true;
|
||||
enableACME = false;
|
||||
|
|
Loading…
Reference in a new issue