mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
* 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 :-) ). svn path=/nixos/trunk/; revision=29826
This commit is contained in:
parent
0ecda32942
commit
5164ca570f
@ -48,6 +48,12 @@ in
|
||||
$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.
|
||||
|
Loading…
Reference in New Issue
Block a user