summaryrefslogtreecommitdiff
path: root/integrationtests/dtail_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrationtests/dtail_test.go')
-rw-r--r--integrationtests/dtail_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/integrationtests/dtail_test.go b/integrationtests/dtail_test.go
index 4af7401..c6d0107 100644
--- a/integrationtests/dtail_test.go
+++ b/integrationtests/dtail_test.go
@@ -7,9 +7,15 @@ import (
"strings"
"testing"
"time"
+
+ "github.com/mimecast/dtail/internal/config"
)
func TestDTailWithServer(t *testing.T) {
+ if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") {
+ t.Log("Skipping")
+ return
+ }
followFile := "dtail.follow.tmp"
greetings := []string{"world!", "sol-system!", "milky-way!", "universe!", "multiverse!"}
@@ -122,6 +128,10 @@ func TestDTailWithServer(t *testing.T) {
}
func TestDTailColorTable(t *testing.T) {
+ if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") {
+ t.Log("Skipping")
+ return
+ }
stdoutFile := "dtailcolortable.stdout.tmp"
expectedStdoutFile := "dtailcolortable.expected"