mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
* Add a test to check whether concurrent garbage collection (i.e.,
running the collector while builds are in progress) works correctly. The test currently fails.
This commit is contained in:
parent
22cfdfa246
commit
a7668411a1
4 changed files with 56 additions and 1 deletions
25
tests/gc-concurrent.nix.in
Normal file
25
tests/gc-concurrent.nix.in
Normal file
|
@ -0,0 +1,25 @@
|
|||
let {
|
||||
|
||||
input1 = derivation {
|
||||
name = "dependencies-input-1";
|
||||
system = "@system@";
|
||||
builder = "@shell@";
|
||||
args = ["-e" "-x" ./dependencies.builder1.sh];
|
||||
};
|
||||
|
||||
input2 = derivation {
|
||||
name = "dependencies-input-2";
|
||||
system = "@system@";
|
||||
builder = "@shell@";
|
||||
args = ["-e" "-x" ./dependencies.builder2.sh];
|
||||
};
|
||||
|
||||
body = derivation {
|
||||
name = "gc-concurrent";
|
||||
system = "@system@";
|
||||
builder = "@shell@";
|
||||
args = ["-e" "-x" ./gc-concurrent.builder.sh];
|
||||
inherit input1 input2;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue