Skip to content

Commit c16995c

Browse files
tongyimingmikatong
andauthored
fix lighthouse blueprint test (#1657)
Co-authored-by: mikatong <mikatong@tencent.com>
1 parent f11180d commit c16995c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tencentcloud/resource_tc_lighthouse_blueprint_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package tencentcloud
22

33
import (
44
"testing"
5+
"time"
56

67
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
78
)
@@ -17,6 +18,7 @@ func TestAccTencentCloudLighthouseBlueprintResource_basic(t *testing.T) {
1718
Check: resource.ComposeTestCheckFunc(resource.TestCheckResourceAttrSet("tencentcloud_lighthouse_blueprint.blueprint", "id")),
1819
},
1920
{
21+
PreConfig: func() { time.Sleep(time.Minute * 1) },
2022
ResourceName: "tencentcloud_lighthouse_blueprint.blueprint",
2123
ImportState: true,
2224
ImportStateVerify: true,

0 commit comments

Comments
 (0)