Browse Source

go on test

tags/v0.7.8
toranger 6 years ago
parent
commit
a6d215db23
  1. 2
      cos.go
  2. 4
      costesting/ci_test.go

2
cos.go

@ -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(

4
costesting/ci_test.go

@ -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())

Loading…
Cancel
Save