summaryrefslogtreecommitdiff
path: root/integrationtests/dserver_test.go
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2022-01-27 17:08:13 +0000
committerPaul Buetow <pbuetow@mimecast.com>2022-01-27 17:08:13 +0000
commit4c1059dc98b3acf2fd985aec8a181c2e3117cbe9 (patch)
treee60683282d1458b943b920fa403d7e40c51d4043 /integrationtests/dserver_test.go
parentcc6f19f69d0fb34af96e17147b2030c352d46845 (diff)
Dont auto lowercase all mapreduce keys
Diffstat (limited to 'integrationtests/dserver_test.go')
-rw-r--r--integrationtests/dserver_test.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/integrationtests/dserver_test.go b/integrationtests/dserver_test.go
index a2f20da..309c84b 100644
--- a/integrationtests/dserver_test.go
+++ b/integrationtests/dserver_test.go
@@ -23,6 +23,10 @@ func TestDServer1(t *testing.T) {
queryFile := fmt.Sprintf("%s.query", csvFile)
expectedQueryFile := "dserver1.csv.query.expected"
+ // In case files still exists from previous test run.
+ os.Remove(csvFile)
+ os.Remove(queryFile)
+
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
@@ -31,7 +35,7 @@ func TestDServer1(t *testing.T) {
"--cfg", "dserver1.cfg",
"--logger", "stdout",
"--logLevel", "info",
- "--bindAddress", "localhost",
+ "--bindAddress", "127.0.0.1",
"--shutdownAfter", "5",
"--port", fmt.Sprintf("%d", getUniquePortNumber()),
)
@@ -98,7 +102,7 @@ func TestDServer2(t *testing.T) {
"--cfg", "dserver2.cfg",
"--logger", "stdout",
"--logLevel", "debug",
- "--bindAddress", "localhost",
+ "--bindAddress", "127.0.0.1",
"--shutdownAfter", "7",
"--port", fmt.Sprintf("%d", getUniquePortNumber()),
)