Skip to content

Commit 61183b8

Browse files
tongyimingmikatong
andauthored
fix gaap testcase (#1090)
Co-authored-by: mikatong <mikatong@tencent.com>
1 parent 6fe0ae9 commit 61183b8

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tencentcloud/data_source_tc_gaap_certificates_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ func TestAccDataSourceTencentCloudGaapCertificates_name(t *testing.T) {
5959
}
6060

6161
func TestAccDataSourceTencentCloudGaapCertificates_type(t *testing.T) {
62-
t.Parallel()
6362

6463
resource.Test(t, resource.TestCase{
6564
PreCheck: func() { testAccPreCheckCommon(t, ACCOUNT_TYPE_PREPAY) },

tencentcloud/resource_tc_gaap_realserver_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func TestAccTencentCloudGaapRealserver_updateTags(t *testing.T) {
117117
),
118118
},
119119
{
120-
PreConfig: func() { time.Sleep(time.Duration(time.Second * 5)) },
120+
PreConfig: func() { time.Sleep(time.Duration(time.Second * 10)) },
121121
Config: testAccGaapRealserverUpdateTags,
122122
Check: resource.ComposeTestCheckFunc(
123123
testAccCheckGaapRealserverExists("tencentcloud_gaap_realserver.foo", id),

tencentcloud/service_tencentcloud_gaap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ func (me *GaapService) ModifyProxyConfiguration(ctx context.Context, id string,
713713
}
714714
modifyRequest.ClientToken = helper.String(helper.BuildToken())
715715

716-
if err := resource.Retry(writeRetryTimeout, func() *resource.RetryError {
716+
if err := resource.Retry(2*writeRetryTimeout, func() *resource.RetryError {
717717
ratelimit.Check(modifyRequest.GetAction())
718718

719719
if _, err := client.ModifyProxyConfiguration(modifyRequest); err != nil {

0 commit comments

Comments
 (0)