From d0492e3f63f86ce053f59362a55d23cf6397d526 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 27 Oct 2021 09:54:06 +0300 Subject: integration tests use separate ssh private key file --- internal/config/initializer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/config/initializer.go') diff --git a/internal/config/initializer.go b/internal/config/initializer.go index 936df8a..74d0289 100644 --- a/internal/config/initializer.go +++ b/internal/config/initializer.go @@ -82,7 +82,7 @@ func (in *initializer) transformConfig(sourceProcess source.Source, args *Args, // There are some special options which can be set by environment variable. func (in *initializer) readEnvironmentVars() { - if Env("DTAIL_RUN_INTEGRATION_TESTS") { + if Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { os.Setenv("DTAIL_HOSTNAME_OVERRIDE", "integrationtest") os.Setenv("DTAIL_SSH_KNOWN_HOSTS_FILE", "./known_hosts") in.Server.HostKeyFile = "./ssh_host_key" -- cgit v1.2.3