Skip to content

Conversation

SevenEarth
Copy link
Collaborator

feat/wedata

@SevenEarth SevenEarth added the run check run check label Nov 14, 2023
Steps: []resource.TestStep{
{
Config: testAccWedataDatasource,
Check: resource.ComposeTestCheckFunc(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

补充下导入和修改的用例

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok 已补充修改用例,该资源暂不支持导入

),
},
{
ResourceName: "tencentcloud_wedata_integration_offline_task.example",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

补充修改用例

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已补充

Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttrSet("tencentcloud_wedata_integration_realtime_task.example", "id"),
resource.TestCheckResourceAttrSet("tencentcloud_wedata_integration_realtime_task.example", "project_id"),
resource.TestCheckResourceAttrSet("tencentcloud_wedata_integration_realtime_task.example", "task_name"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

用例比较具体值吧

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已更新

resource.TestCheckResourceAttrSet("tencentcloud_wedata_integration_task_node.example", "data_source_type"),
resource.TestCheckResourceAttrSet("tencentcloud_wedata_integration_task_node.example", "task_type"),
resource.TestCheckResourceAttrSet("tencentcloud_wedata_integration_task_node.example", "task_mode"),
),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

比较具体值

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已更新

Copy link
Collaborator

@andrew-tx andrew-tx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andrew-tx andrew-tx added run check run check and removed run check run check labels Nov 15, 2023
@andrew-tx andrew-tx merged commit f09ec1b into master Nov 15, 2023
@andrew-tx andrew-tx deleted the feat/wedata branch November 15, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run check run check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants