summaryrefslogtreecommitdiff
path: root/integrationtests/dmap_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrationtests/dmap_test.go')
-rw-r--r--integrationtests/dmap_test.go6
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
}