From: Scott Worley Date: Mon, 27 Jul 2020 23:25:34 +0000 (-0700) Subject: Verify b's device ID gets set also X-Git-Url: http://git.scottworley.com/syncthing-autoregister/commitdiff_plain/1d5d76e472df2f4d24f153f0cd381d7b7d579f91 Verify b's device ID gets set also This is racy. :( --- diff --git a/tests/automatic-enrollment.nix b/tests/automatic-enrollment.nix index 6520c9f..951a415 100644 --- a/tests/automatic-enrollment.nix +++ b/tests/automatic-enrollment.nix @@ -90,5 +90,8 @@ import ({ pkgs, lib, ... }: putDeviceFile(b) setConfig(b, configurationWithDeviceIDs) verifyDeviceIDSet(b, "a") + b.wait_for_unit("syncthing-autoregister.service") + verifyDeviceIDSet(b, "a") + verifyDeviceIDSet(b, "b") ''; })