Skip to content

Commit

Permalink
using OS temporary dir for message-store
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmin Rentea committed Jun 16, 2017
1 parent 52d2e3f commit 7b9fa75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/store/filestore/message_partition_robustness_test.go
Expand Up @@ -18,7 +18,8 @@ func Test_MessagePartition_forConcurrentWriteAndReads(t *testing.T) {
testutil.SkipIfShort(t)
// testutil.PprofDebug()
a := assert.New(t)
dir, _ := ioutil.TempDir("", "guble_partition_store_test")

dir, _ := ioutil.TempDir(os.TempDir(), "guble_partition_store_test")
defer os.RemoveAll(dir)

store, _ := newMessagePartition(dir, "myMessages")
Expand Down

0 comments on commit 7b9fa75

Please sign in to comment.