forked from mirrors/nixpkgs
nixos/acme: Remove an incorrect assertion from tests
Commit 3a2e0c36e7
has removed
`--reuse-key` from default renew options, yet the tests still expected
keys not to change. This assertion is now removed, as they are supposed
to change on each renew/change.
This commit is contained in:
parent
25964547fb
commit
b00bcf21ab
|
@ -392,14 +392,11 @@ in import ./make-test-python.nix ({ lib, ... }: {
|
|||
# Check the key hash before and after adding an alias. It should not change.
|
||||
# The previous test reverts the ed384 change
|
||||
webserver.wait_for_unit("acme-finished-a.example.test.target")
|
||||
keyhash_old = webserver.succeed("md5sum /var/lib/acme/a.example.test/key.pem")
|
||||
switch_to(webserver, "nginx-aliases")
|
||||
webserver.wait_for_unit("acme-finished-a.example.test.target")
|
||||
check_issuer(webserver, "a.example.test", "pebble")
|
||||
check_connection(client, "a.example.test")
|
||||
check_connection(client, "b.example.test")
|
||||
keyhash_new = webserver.succeed("md5sum /var/lib/acme/a.example.test/key.pem")
|
||||
assert keyhash_old == keyhash_new
|
||||
|
||||
with subtest("Can request certificates for vhost + aliases (apache-httpd)"):
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue