mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
Fix goroutine test fatalf (#6682)
Use t.Error/t.ErrorF instead if t.Fatal/t.Fatalf Add returns to achieve same behaviour as earlier
This commit is contained in:
committed by
kannappanr
parent
7b7be66fa1
commit
9631d65552
@@ -1046,7 +1046,8 @@ func (s *TestSuiteCommon) TestPutBucket(c *check) {
|
||||
client := http.Client{Transport: s.transport}
|
||||
response, err := client.Do(request)
|
||||
if err != nil {
|
||||
c.Fatalf("Put bucket Failed: <ERROR> %s", err)
|
||||
c.Errorf("Put bucket Failed: <ERROR> %s", err)
|
||||
return
|
||||
}
|
||||
defer response.Body.Close()
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user