From c28c72108f1cf680453036bfb09f66c39596dcbd Mon Sep 17 00:00:00 2001 From: Awn Date: Wed, 24 Jul 2019 23:18:41 +0100 Subject: [PATCH] Use consistent directory names in benchmarks (#24) * patch: use current directory for benchmarks * Use consistent directory names --- bitcask_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitcask_test.go b/bitcask_test.go index 8548801..9079378 100644 --- a/bitcask_test.go +++ b/bitcask_test.go @@ -565,7 +565,7 @@ func BenchmarkPut(b *testing.B) { b.Fatal(err) } - testdir, err := ioutil.TempDir(currentDir, "bitcask") + testdir, err := ioutil.TempDir(currentDir, "bitcask_bench") if err != nil { b.Fatal(err) } @@ -612,7 +612,7 @@ func BenchmarkScan(b *testing.B) { b.Fatal(err) } - testdir, err := ioutil.TempDir(currentDir, "bitcask") + testdir, err := ioutil.TempDir(currentDir, "bitcask_bench") if err != nil { b.Fatal(err) }