From bc65d6a3667841bd0d9eaa7538613ed6ec7fd7c9 Mon Sep 17 00:00:00 2001 From: francisco souza <108725+fsouza@users.noreply.github.com> Date: Sat, 29 Oct 2022 22:22:56 -0400 Subject: [PATCH] Make sure we exit test if we can't create server instance --- fakestorage/bucket_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fakestorage/bucket_test.go b/fakestorage/bucket_test.go index 8ea890361f..2146a98eff 100644 --- a/fakestorage/bucket_test.go +++ b/fakestorage/bucket_test.go @@ -275,7 +275,7 @@ func TestServerClientListObjects(t *testing.T) { t.Run("", func(t *testing.T) { server, err := NewServerWithOptions(options) if err != nil { - t.Error(err) + t.Fatal(err) } defer server.Stop() client := server.Client()