summaryrefslogtreecommitdiff
path: root/integrationtests/dserver_test.go
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2022-02-04 21:43:52 +0000
committerPaul Buetow <pbuetow@mimecast.com>2022-02-04 21:43:52 +0000
commit9685c5908631577548693a57a6e61cc7717556ce (patch)
tree80a1d59df9957e53e5e8a3ec8c888fb1d8c37461 /integrationtests/dserver_test.go
parent1db3b5dc1219e34e0e1c612e6646327701c40274 (diff)
parent73da706412607ee2e4214dd36349cf333972ae0b (diff)
merge kv sensitivity
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()),
)