mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Make the gc-concurrent test more reliable
Use a fifo pipe to handle the synchronisation between the different threads rather than relying on delays
This commit is contained in:
parent
1b5aa60767
commit
c762385457
4 changed files with 18 additions and 13 deletions
|
@ -3,5 +3,3 @@ echo $(cat $input1/foo)$(cat $input2/bar)xyzzy > $out/foobar
|
|||
|
||||
# Check that the GC hasn't deleted the lock on our output.
|
||||
test -e "$out.lock"
|
||||
|
||||
sleep 6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue