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
This commit is contained in:
regnat 2021-04-28 12:11:55 +02:00
parent 0c8d016a38
commit 0d3977866e

View file

@ -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;