summaryrefslogtreecommitdiff
path: root/integrationtests
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2021-10-27 09:54:06 +0300
committerPaul Buetow <pbuetow@mimecast.com>2021-10-27 09:54:06 +0300
commitd0492e3f63f86ce053f59362a55d23cf6397d526 (patch)
treeefe6668328b58db3e14d3b6c408295e0f3bf85dd /integrationtests
parent7c927e7e6d913168798d245a7ceea32a9ca85643 (diff)
integration tests use separate ssh private key file
Diffstat (limited to 'integrationtests')
-rw-r--r--integrationtests/dcat_test.go6
-rw-r--r--integrationtests/dgrep_test.go8
-rw-r--r--integrationtests/dmap_test.go6
-rw-r--r--integrationtests/dtail_test.go4
-rw-r--r--integrationtests/dtailhealth_test.go6
5 files changed, 15 insertions, 15 deletions
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
}