From 0d3977866e14b9bd912b738a82ed6fd5184fcd88 Mon Sep 17 00:00:00 2001 From: regnat Date: Wed, 28 Apr 2021 12:11:55 +0200 Subject: [PATCH] Run the tests with a remote dest store Set `dest_store` in the test hydra config, so that the testsuite ensures that the distinction between the local store and the destination store is properly taken into account. Fix #938 --- t/lib/Setup.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/t/lib/Setup.pm b/t/lib/Setup.pm index b5236978..ba34bb1c 100644 --- a/t/lib/Setup.pm +++ b/t/lib/Setup.pm @@ -54,6 +54,7 @@ sub test_init { $ENV{'HYDRA_CONFIG'} = "$dir/hydra.conf"; open(my $fh, '>', $ENV{'HYDRA_CONFIG'}) or die "Could not open file '" . $ENV{'HYDRA_CONFIG'}. " $!"; + print $fh "store_uri = file:$dir/nix/dest-store\n"; print $fh $opts{'hydra_config'} || ""; close $fh;