diff options
| author | Paul Buetow <paul@buetow.org> | 2021-10-13 09:00:03 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-10-13 09:00:03 +0300 |
| commit | 7b873100d94ddc3c698a620cb83b61dcb2074303 (patch) | |
| tree | 7ecbbce3c7d7c52671b8cb26eb15260b529e9236 /integrationtests/dmap_test.go | |
| parent | a6098084f7150df34edecf1519386bd28a527361 (diff) | |
add another dcat integration test - catting 100 files at once
Diffstat (limited to 'integrationtests/dmap_test.go')
| -rw-r--r-- | integrationtests/dmap_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/integrationtests/dmap_test.go b/integrationtests/dmap_test.go index 966944a..59be3f4 100644 --- a/integrationtests/dmap_test.go +++ b/integrationtests/dmap_test.go @@ -19,7 +19,7 @@ func TestDMap(t *testing.T) { "avg($goroutines),min(concurrentConnections),max(lifetimeConnections) "+ "group by $hostname outfile %s", csvFile) - _, err := runCommand(context.TODO(), stdoutFile, + _, err := runCommand(context.TODO(), t, stdoutFile, "../dmap", "--query", query, inFile) if err != nil { @@ -53,7 +53,7 @@ func TestDMap2(t *testing.T) { "avg($goroutines),min($goroutines) group by $time order by count($time) "+ "outfile %s", csvFile) - _, err := runCommand(context.TODO(), stdoutFile, + _, err := runCommand(context.TODO(), t, stdoutFile, "../dmap", "--query", query, inFile) if err != nil { t.Error(err) @@ -92,7 +92,7 @@ func TestDMap3(t *testing.T) { args = append(args, inFile) } - if _, err := runCommand(context.TODO(), stdoutFile, "../dmap", args...); err != nil { + if _, err := runCommand(context.TODO(), t, stdoutFile, "../dmap", args...); err != nil { t.Error(err) return } |
