From 5b472be4d099b18228700615929e7ba74d17f1e9 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Mon, 6 Sep 2021 18:12:04 +0300 Subject: [PATCH] fix test Signed-off-by: Vasiliy Tolstov --- s3_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/s3_test.go b/s3_test.go index c9e1534..2a7a637 100644 --- a/s3_test.go +++ b/s3_test.go @@ -54,7 +54,11 @@ func TestStore(t *testing.T) { val := []byte("test") key := "key" - bucket := "micro-store-s3-" + id.New() + uid, err := id.New() + if err != nil { + t.Fatal(err) + } + bucket := "micro-store-s3-" + uid if err := s.Write(ctx, key, val, WriteBucket(bucket), ContentType("text/plain")); err != nil { t.Fatal(err) }