From fd188be052017953f26182fe885ca73a1465e264 Mon Sep 17 00:00:00 2001 From: Vladimir Masarik Date: Wed, 27 Mar 2019 15:33:59 +0100 Subject: [PATCH] Fixed default benchmark test path (#571) Signed-off-by: Vladimir Masarik --- cmd/tsdb/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tsdb/main.go b/cmd/tsdb/main.go index a0845f274..8c0494510 100644 --- a/cmd/tsdb/main.go +++ b/cmd/tsdb/main.go @@ -48,7 +48,7 @@ func main() { benchWriteCmd = benchCmd.Command("write", "run a write performance benchmark") benchWriteOutPath = benchWriteCmd.Flag("out", "set the output path").Default("benchout").String() benchWriteNumMetrics = benchWriteCmd.Flag("metrics", "number of metrics to read").Default("10000").Int() - benchSamplesFile = benchWriteCmd.Arg("file", "input file with samples data, default is ("+filepath.Join("..", "testdata", "20kseries.json")+")").Default(filepath.Join("..", "testdata", "20kseries.json")).String() + benchSamplesFile = benchWriteCmd.Arg("file", "input file with samples data, default is ("+filepath.Join("..", "..", "testdata", "20kseries.json")+")").Default(filepath.Join("..", "..", "testdata", "20kseries.json")).String() listCmd = cli.Command("ls", "list db blocks") listCmdHumanReadable = listCmd.Flag("human-readable", "print human readable values").Short('h').Bool() listPath = listCmd.Arg("db path", "database path (default is "+defaultDBPath+")").Default(defaultDBPath).String()