about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/by-name/at/atuin-sync/test.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/by-name/at/atuin-sync/test.nix b/tests/by-name/at/atuin-sync/test.nix
index d29c031..d65c216 100644
--- a/tests/by-name/at/atuin-sync/test.nix
+++ b/tests/by-name/at/atuin-sync/test.nix
@@ -154,14 +154,12 @@ nixos-lib.runTest {
       client1.wait_until_succeeds("curl https://atuin-sync.server")
 
       with subtest("Setup client syncing"):
+          # See https://docs.atuin.sh/guide/sync/
           for client in [client1, client2]:
             client.succeed("${mkSyncConfig}")
 
           client1.succeed("${syncRegister}")
-
-          for client in [client1, client2]:
-            # See https://docs.atuin.sh/guide/sync/
-            client.succeed(f"${syncLogin} '{client1.succeed("atuin key")}'")
+          client2.succeed(f"${syncLogin} '{client1.succeed("atuin key")}'")
 
       with subtest("Can import shell history"):
           client1.succeed("${runCommandAndRecordInAtuin} echo hi - client 1")