diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-21T21·36+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-21T21·36+0100 |
commit | 1943b60ad820730a74d1dffcdddac396d0c1cb00 (patch) | |
tree | a537c6d2d48a1d8e01ee40d910849bdae785cc5f /tests/remote-builds.nix | |
parent | 96fbbbde55d6f226fc49299ed753761edfb6ad77 (diff) |
Fix the VM tests
Diffstat (limited to 'tests/remote-builds.nix')
-rw-r--r-- | tests/remote-builds.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/remote-builds.nix b/tests/remote-builds.nix index b0d2547c66d6..6d38fb568068 100644 --- a/tests/remote-builds.nix +++ b/tests/remote-builds.nix @@ -72,11 +72,11 @@ in $client->succeed("chmod 600 /root/.ssh/id_dsa"); # Install the SSH key on the slaves. - $client->waitForJob("network-interfaces"); + $client->waitForUnit("network.target"); foreach my $slave ($slave1, $slave2) { $slave->succeed("mkdir -m 700 /root/.ssh"); $slave->copyFileFromHost("key.pub", "/root/.ssh/authorized_keys"); - $slave->waitForJob("sshd"); + $slave->waitForUnit("sshd"); $client->succeed("ssh -o StrictHostKeyChecking=no " . $slave->name() . " 'echo hello world'"); } |