diff --git a/component/s3storage/client_test.go b/component/s3storage/client_test.go index 0befa625d..5aedd946d 100644 --- a/component/s3storage/client_test.go +++ b/component/s3storage/client_test.go @@ -205,7 +205,7 @@ func (s *clientTestSuite) TestCredentialsErrorInvalidBucket() { storageTestConfigurationParameters.SecretKey, storageTestConfigurationParameters.Endpoint) // S3 connection creation should fail err := s.setupTestHelper(config, false) - s.assert.Equal(errBucketDoesNotExist, err) + s.assert.Error(err) } func (s *clientTestSuite) TestCredentialsErrorIncorrectEndpoint() {