summaryrefslogtreecommitdiff
path: root/integrationtests
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-10-29 07:50:36 +0300
committerPaul Buetow <paul@buetow.org>2021-10-29 07:50:36 +0300
commitd556c13d430f291b615d538c35ebdaf9b53aa15d (patch)
tree1b5b78814e88ac09669cd62c216c97347343c253 /integrationtests
parent3d24204754aff155de21b01e9e3d82eb460fb87f (diff)
Dont use relaxed SSH Auth mode anymore for integration tests
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.go5
-rw-r--r--integrationtests/dtailhealth_test.go6
5 files changed, 15 insertions, 16 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..6fa5308 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
}
@@ -41,7 +41,6 @@ func TestDTailWithServer(t *testing.T) {
"--logLevel", "info",
"--bindAddress", bindAddress,
"--port", fmt.Sprintf("%d", port),
- "--relaxedAuth",
)
if err != nil {
t.Error(err)
@@ -131,7 +130,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
}