Skip to content

Commit

Permalink
fix: modify test
Browse files Browse the repository at this point in the history
  • Loading branch information
gitmkn committed Dec 13, 2024
1 parent 3db5daa commit cfa0094
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ func TestAccTencentCloudMonitorClusterAgent_basic(t *testing.T) {
Config: testClusterAgentYaml_basic,
Check: resource.ComposeTestCheckFunc(
testAccCheckClusterAgentExists("tencentcloud_monitor_tmp_tke_cluster_agent.basic"),
resource.TestCheckResourceAttr("tencentcloud_monitor_tmp_tke_cluster_agent.basic", "agents.0.cluster_id", "cls-9ae9qo9k"),
resource.TestCheckResourceAttr("tencentcloud_monitor_tmp_tke_cluster_agent.basic", "agents.0.cluster_type", "eks"),
resource.TestCheckResourceAttr("tencentcloud_monitor_tmp_tke_cluster_agent.basic", "agents.0.cluster_id", tcacctest.TkeClusterIdAgent),
resource.TestCheckResourceAttr("tencentcloud_monitor_tmp_tke_cluster_agent.basic", "agents.0.cluster_type", tcacctest.TkeClusterTypeAgent),
resource.TestCheckResourceAttr("tencentcloud_monitor_tmp_tke_cluster_agent.basic", "agents.0.open_default_record", "true"),
),
},
},
Expand Down

0 comments on commit cfa0094

Please sign in to comment.