From 33f4c4c13d57866ecda3d822f21bc207d5f645b9 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 10 Feb 2022 11:13:31 -0500 Subject: [PATCH] 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. --- t/queue-runner/build-locally-with-substitutable-path.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/queue-runner/build-locally-with-substitutable-path.t b/t/queue-runner/build-locally-with-substitutable-path.t index 4f2c3057..e3b31761 100644 --- a/t/queue-runner/build-locally-with-substitutable-path.t +++ b/t/queue-runner/build-locally-with-substitutable-path.t @@ -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"); };