about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMewp <github@mewp.pl>2021-06-05 10:35:20 +0200
committerMewp <github@mewp.pl>2021-06-05 10:38:46 +0200
commitb00bcf21abc392ecb1d93bd49f7a5ffbc8524ecf (patch)
treec0c0ca24d1fd67ed48be5e06f413f51fd1bbd71e /nixos
parent25964547fbddc1f8867735838e88202777fd7799 (diff)
downloadnixlib-b00bcf21abc392ecb1d93bd49f7a5ffbc8524ecf.tar
nixlib-b00bcf21abc392ecb1d93bd49f7a5ffbc8524ecf.tar.gz
nixlib-b00bcf21abc392ecb1d93bd49f7a5ffbc8524ecf.tar.bz2
nixlib-b00bcf21abc392ecb1d93bd49f7a5ffbc8524ecf.tar.lz
nixlib-b00bcf21abc392ecb1d93bd49f7a5ffbc8524ecf.tar.xz
nixlib-b00bcf21abc392ecb1d93bd49f7a5ffbc8524ecf.tar.zst
nixlib-b00bcf21abc392ecb1d93bd49f7a5ffbc8524ecf.zip
nixos/acme: Remove an incorrect assertion from tests
Commit 3a2e0c36e79cecaf196cbea23e75e74710140ea4 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.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/acme.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/tests/acme.nix b/nixos/tests/acme.nix
index 6f98b0da3780..fe8c4af3ea21 100644
--- a/nixos/tests/acme.nix
+++ b/nixos/tests/acme.nix
@@ -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: