build-locally-with-substitutable-path.t: give nix-store --delete a bit more time to run

Under high load, like 64-128 tests at once, this can take more than a second.
This commit is contained in:
Graham Christensen 2022-02-10 11:13:31 -05:00
parent e709a17508
commit 33f4c4c13d

View file

@ -39,7 +39,7 @@ subtest "Building, caching, and then garbage collecting the underlying job" => s
ok(unlink(Hydra::Helper::Nix::gcRootFor($path)), "Unlinking the GC root for underlying Dependency succeeds");
(my $ret, my $stdout, my $stderr) = captureStdoutStderr(1, "nix-store", "--delete", $path);
(my $ret, my $stdout, my $stderr) = captureStdoutStderr(5, "nix-store", "--delete", $path);
is($ret, 0, "Deleting the underlying dependency should succeed");
};