Skip to content

Commit

Permalink
multicloud: speed up objectstore test
Browse files Browse the repository at this point in the history
  • Loading branch information
yousong committed Jun 15, 2020
1 parent 6cedfa3 commit d4f54af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/multicloud/loader/proxyfunc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import (
"net/url"
"testing"

"yunion.io/x/s3cli"

"yunion.io/x/onecloud/pkg/apis/compute"
"yunion.io/x/onecloud/pkg/cloudprovider"
"yunion.io/x/onecloud/pkg/util/httputils"
Expand Down Expand Up @@ -113,6 +115,7 @@ func TestProxyFunc(t *testing.T) {
}
})
t.Run("objectstore", func(t *testing.T) {
s3cli.MaxRetry = 1
cpcfgs := map[string]*cloudprovider.ProviderConfig{
compute.CLOUD_PROVIDER_CEPH: &cloudprovider.ProviderConfig{},
compute.CLOUD_PROVIDER_XSKY: &cloudprovider.ProviderConfig{},
Expand Down

0 comments on commit d4f54af

Please sign in to comment.