@ -24,7 +24,7 @@ const (
Version = "0.7.3"
userAgent = "cos-go-sdk-v5/" + Version
contentTypeXML = "application/xml"
defaultServiceBaseURL = "https://service.cos.myqcloud.com"
defaultServiceBaseURL = "http://service.cos.myqcloud.com"
)
var bucketURLTemplate = template.Must(
@ -110,6 +110,10 @@ func (s *CosTestSuite) TestPutHeadDeleteBucket() {
assert.Nil(s.T(), err, "PutBucket Failed")
}
if err != nil {
panic(err)
time.Sleep(3 * time.Second)
_, err = client.Bucket.Head(context.Background())