From 0a8f3e30f8f83445f815fc5ca50b23e97814b3bc 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 --- integrationtests/dcat_test.go | 6 +++--- integrationtests/dgrep_test.go | 8 ++++---- integrationtests/dmap_test.go | 6 +++--- integrationtests/dtail_test.go | 4 ++-- integrationtests/dtailhealth_test.go | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) (limited to 'integrationtests') diff --git a/integrationtests/dcat_test.go b/integrationtests/dcat_test.go index 777e835..6928afa 100644 --- a/integrationtests/dcat_test.go +++ b/integrationtests/dcat_test.go @@ -9,7 +9,7 @@ import ( ) func TestDCat(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } @@ -33,7 +33,7 @@ func TestDCat(t *testing.T) { } func TestDCat2(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { return } testdataFile := "dcat2.txt" @@ -62,7 +62,7 @@ func TestDCat2(t *testing.T) { } func TestDCatColors(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { return } diff --git a/integrationtests/dgrep_test.go b/integrationtests/dgrep_test.go index 26abc2f..35c3ff5 100644 --- a/integrationtests/dgrep_test.go +++ b/integrationtests/dgrep_test.go @@ -9,7 +9,7 @@ import ( ) func TestDGrep(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } @@ -38,7 +38,7 @@ func TestDGrep(t *testing.T) { } func TestDGrep2(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } @@ -68,7 +68,7 @@ func TestDGrep2(t *testing.T) { } func TestDGrepContext(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } @@ -98,7 +98,7 @@ func TestDGrepContext(t *testing.T) { } func TestDGrepContext2(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } diff --git a/integrationtests/dmap_test.go b/integrationtests/dmap_test.go index 53b8574..6a93b7b 100644 --- a/integrationtests/dmap_test.go +++ b/integrationtests/dmap_test.go @@ -10,7 +10,7 @@ import ( ) func TestDMap(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } @@ -56,7 +56,7 @@ func TestDMap(t *testing.T) { } func TestDMap2(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } @@ -93,7 +93,7 @@ func TestDMap2(t *testing.T) { } func TestDMap3(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } diff --git a/integrationtests/dtail_test.go b/integrationtests/dtail_test.go index e9cf257..2f2708e 100644 --- a/integrationtests/dtail_test.go +++ b/integrationtests/dtail_test.go @@ -12,7 +12,7 @@ import ( ) func TestDTailWithServer(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } @@ -131,7 +131,7 @@ func TestDTailWithServer(t *testing.T) { } func TestDTailColorTable(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } diff --git a/integrationtests/dtailhealth_test.go b/integrationtests/dtailhealth_test.go index 271f11d..b53c425 100644 --- a/integrationtests/dtailhealth_test.go +++ b/integrationtests/dtailhealth_test.go @@ -10,7 +10,7 @@ import ( ) func TestDTailHealthCheck(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } @@ -32,7 +32,7 @@ func TestDTailHealthCheck(t *testing.T) { } func TestDTailHealthCheck2(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } @@ -57,7 +57,7 @@ func TestDTailHealthCheck2(t *testing.T) { } func TestDTailHealthCheck3(t *testing.T) { - if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") { + if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } -- cgit v1.2.3