From 4c64cec9481b207f2f131b5db9fecfb97c29e0e4 Mon Sep 17 00:00:00 2001 From: Claudio Costa Date: Thu, 17 Sep 2020 08:53:04 +0200 Subject: [PATCH] Fix failing test (#15522) Co-authored-by: Mattermod --- services/filesstore/filesstore_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/filesstore/filesstore_test.go b/services/filesstore/filesstore_test.go index bf50f919e9..a109d7d892 100644 --- a/services/filesstore/filesstore_test.go +++ b/services/filesstore/filesstore_test.go @@ -89,6 +89,9 @@ func (s *FileBackendTestSuite) SetupTest() { backend, err := NewFileBackend(&s.settings, true) require.Nil(s.T(), err) s.backend = backend + + // This is needed to create the bucket if it doesn't exist. + s.Nil(s.backend.TestConnection()) } func (s *FileBackendTestSuite) TestConnection() {