diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2022-02-04 21:43:52 +0000 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2022-02-04 21:43:52 +0000 |
| commit | 9685c5908631577548693a57a6e61cc7717556ce (patch) | |
| tree | 80a1d59df9957e53e5e8a3ec8c888fb1d8c37461 /integrationtests | |
| parent | 1db3b5dc1219e34e0e1c612e6646327701c40274 (diff) | |
| parent | 73da706412607ee2e4214dd36349cf333972ae0b (diff) | |
merge kv sensitivity
Diffstat (limited to 'integrationtests')
| -rw-r--r-- | integrationtests/dmap1a.csv.expected | 2 | ||||
| -rw-r--r-- | integrationtests/dmap1b.csv.expected | 2 | ||||
| -rw-r--r-- | integrationtests/dmap1c.csv.expected | 2 | ||||
| -rw-r--r-- | integrationtests/dserver1.csv.expected | 2 | ||||
| -rw-r--r-- | integrationtests/dserver_test.go | 8 |
5 files changed, 10 insertions, 6 deletions
diff --git a/integrationtests/dmap1a.csv.expected b/integrationtests/dmap1a.csv.expected index 3c55c7c..1983bb5 100644 --- a/integrationtests/dmap1a.csv.expected +++ b/integrationtests/dmap1a.csv.expected @@ -1,2 +1,2 @@ -count($line),last($time),avg($goroutines),min(concurrentconnections),max(lifetimeconnections) +count($line),last($time),avg($goroutines),min(concurrentConnections),max(lifetimeConnections) 597,1002-071949,11.628141,0.000000,6.000000 diff --git a/integrationtests/dmap1b.csv.expected b/integrationtests/dmap1b.csv.expected index e1d27ce..cf8e653 100644 --- a/integrationtests/dmap1b.csv.expected +++ b/integrationtests/dmap1b.csv.expected @@ -1,2 +1,2 @@ -count($line),last($time),avg($goroutines),min(concurrentconnections),max(lifetimeconnections) +count($line),last($time),avg($goroutines),min(concurrentConnections),max(lifetimeConnections) 527,1002-071949,11.411765,0.000000,6.000000 diff --git a/integrationtests/dmap1c.csv.expected b/integrationtests/dmap1c.csv.expected index 7e232ae..4521e1b 100644 --- a/integrationtests/dmap1c.csv.expected +++ b/integrationtests/dmap1c.csv.expected @@ -1,2 +1,2 @@ -count($line),last($time),avg($goroutines),min(concurrentconnections),max(lifetimeconnections) +count($line),last($time),avg($goroutines),min(concurrentConnections),max(lifetimeConnections) 1,1002-071949,15.000000,0.000000,6.000000 diff --git a/integrationtests/dserver1.csv.expected b/integrationtests/dserver1.csv.expected index 3c55c7c..1983bb5 100644 --- a/integrationtests/dserver1.csv.expected +++ b/integrationtests/dserver1.csv.expected @@ -1,2 +1,2 @@ -count($line),last($time),avg($goroutines),min(concurrentconnections),max(lifetimeconnections) +count($line),last($time),avg($goroutines),min(concurrentConnections),max(lifetimeConnections) 597,1002-071949,11.628141,0.000000,6.000000 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()), ) |
