summaryrefslogtreecommitdiff
path: root/integrationtests/dmap_test.go
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2021-10-19 19:01:12 +0300
committerPaul Buetow <pbuetow@mimecast.com>2021-10-19 19:03:03 +0300
commit860c41441b3bcf542b5701ae2257812879ce47b4 (patch)
tree9940e557b86e346cc3989c45e4f512f58dab850b /integrationtests/dmap_test.go
parent10314cef906fd9b73e003be69c2f6b7b3d66570c (diff)
Set DTAIL_RUN_INTEGRATIONT_TEST to yes for integration tests
Diffstat (limited to 'integrationtests/dmap_test.go')
-rw-r--r--integrationtests/dmap_test.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/integrationtests/dmap_test.go b/integrationtests/dmap_test.go
index a112456..b3c048a 100644
--- a/integrationtests/dmap_test.go
+++ b/integrationtests/dmap_test.go
@@ -5,9 +5,15 @@ import (
"fmt"
"os"
"testing"
+
+ "github.com/mimecast/dtail/internal/config"
)
func TestDMap(t *testing.T) {
+ if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") {
+ t.Log("Skipping")
+ return
+ }
inFile := "mapr_testdata.log"
stdoutFile := "dmap.stdout.tmp"
csvFile := "dmap.csv.tmp"
@@ -42,6 +48,10 @@ func TestDMap(t *testing.T) {
}
func TestDMap2(t *testing.T) {
+ if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") {
+ t.Log("Skipping")
+ return
+ }
inFile := "mapr_testdata.log"
stdoutFile := "dmap2.stdout.tmp"
csvFile := "dmap2.csv.tmp"
@@ -75,6 +85,10 @@ func TestDMap2(t *testing.T) {
}
func TestDMap3(t *testing.T) {
+ if !config.Env("DTAIL_RUN_INTEGRATION_TESTS") {
+ t.Log("Skipping")
+ return
+ }
inFile := "mapr_testdata.log"
stdoutFile := "dmap3.stdout.tmp"
csvFile := "dmap3.csv.tmp"