Skip to content

Commit

Permalink
Merge pull request #127141 from NixOS/backport-125770-to-release-21.05
Browse files Browse the repository at this point in the history
[Backport release-21.05] nixos/acme: Remove an incorrect assertion from tests
  • Loading branch information
mweinelt authored Jun 16, 2021
2 parents 50236d4 + 38088e7 commit 36bb4e1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions nixos/tests/acme.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 36bb4e1

Please sign in to comment.