Author: eelco
Date: Thu Oct 13 14:08:00 2011
New Revision: 29826
URL: https://nixos.org/websvn/nix/?rev=29826&sc=1

Log:
* Test whether restarting Upstart jobs works properly if there are
  dependent jobs with multiple dependencies (such as "started portmap
  and started nfs-kernel-exports").  This currently *doesn't* work
  (and frequently breaks the NFS server in the build farm :-) ).

Modified:
   nixos/trunk/tests/nfs.nix

Modified: nixos/trunk/tests/nfs.nix
==============================================================================
--- nixos/trunk/tests/nfs.nix   Thu Oct 13 13:51:46 2011        (r29825)
+++ nixos/trunk/tests/nfs.nix   Thu Oct 13 14:08:00 2011        (r29826)
@@ -48,6 +48,12 @@
       $client2->succeed("echo bla > /data/bar");
       $server->succeed("test -e /data/bar");
 
+      # Test whether restarting the ‘nfs-kernel-exports’ job works
+      # correctly.  In Upstart 0.6.7 this fails because the jobs that
+      # depend on ‘nfs-kernel-exports’ are stopped but not restarted.
+      $server->succeed("restart nfs-kernel-exports");
+      $client2->succeed("echo bla >> /data/bar");
+
       # Test whether we can get a lock.  !!! This step takes about 90
       # seconds because the NFS server waits that long after booting
       # before accepting new locks.
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to