]> git.scottworley.com Git - syncthing-autoregister/blobdiff - tests/automatic-enrollment.nix
Verify b's device ID gets set also
[syncthing-autoregister] / tests / automatic-enrollment.nix
index 6520c9f35e5067a9e76fb6b166ccb735c52e8218..951a4153e000be6bb453522fab7f4bcde415d1f4 100644 (file)
@@ -90,5 +90,8 @@ import <nixpkgs/nixos/tests/make-test-python.nix> ({ pkgs, lib, ... }:
       putDeviceFile(b)
       setConfig(b, configurationWithDeviceIDs)
       verifyDeviceIDSet(b, "a")
+      b.wait_for_unit("syncthing-autoregister.service")
+      verifyDeviceIDSet(b, "a")
+      verifyDeviceIDSet(b, "b")
     '';
   })