summaryrefslogtreecommitdiff
path: root/integrationtests/dserver_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-11-02 09:15:43 +0200
committerPaul Buetow <paul@buetow.org>2021-11-02 09:15:43 +0200
commit479a1c1bff839f40d980fdbedcab80e2e73aeb58 (patch)
treeb3f92443b1e2641b807a5976504e9d49f8d2850e /integrationtests/dserver_test.go
parentefeba5233c99a88dc1a49e44673ae56709814624 (diff)
Refactor integration tests. Also fix the dmap1 PIPE test
Diffstat (limited to 'integrationtests/dserver_test.go')
-rw-r--r--integrationtests/dserver_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/integrationtests/dserver_test.go b/integrationtests/dserver_test.go
index 27ce773..a2f20da 100644
--- a/integrationtests/dserver_test.go
+++ b/integrationtests/dserver_test.go
@@ -11,24 +11,24 @@ import (
"github.com/mimecast/dtail/internal/config"
)
-func TestDServer(t *testing.T) {
+func TestDServer1(t *testing.T) {
if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") {
t.Log("Skipping")
return
}
// Testing a scheduled query.
- csvFile := "dserver.csv"
- expectedCsvFile := "dserver.csv.expected"
+ csvFile := "dserver1.csv"
+ expectedCsvFile := "dserver1.csv.expected"
queryFile := fmt.Sprintf("%s.query", csvFile)
- expectedQueryFile := "dserver.csv.query.expected"
+ expectedQueryFile := "dserver1.csv.query.expected"
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
stdoutCh, stderrCh, cmdErrCh, err := startCommand(ctx, t,
"", "../dserver",
- "--cfg", "dserver.cfg",
+ "--cfg", "dserver1.cfg",
"--logger", "stdout",
"--logLevel", "info",
"--bindAddress", "localhost",