Skip to content

Commit

Permalink
nfs tests: fix nfs server unit name
Browse files Browse the repository at this point in the history
  • Loading branch information
abbradar committed Feb 5, 2017
1 parent 39339bd commit 6812c70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nixos/tests/nfs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ in

testScript =
''
$server->waitForUnit("nfsd");
$server->waitForUnit("nfs-server");
$server->succeed("systemctl start network-online.target");
$server->waitForUnit("network-online.target");
Expand All @@ -54,8 +54,8 @@ in
$client2->succeed("echo bla > /data/bar");
$server->succeed("test -e /data/bar");
# Test whether restarting ‘nfsd’ works correctly.
$server->succeed("systemctl restart nfsd");
# Test whether restarting ‘nfs-server’ works correctly.
$server->succeed("systemctl restart nfs-server");
$client2->succeed("echo bla >> /data/bar"); # will take 90 seconds due to the NFS grace period
# Test whether we can get a lock.
Expand Down

0 comments on commit 6812c70

Please sign in to comment.