Skip to content

Commit 507f660

Browse files
tongyimingmikatong
andauthored
update unit test (#2215)
Co-authored-by: mikatong <mikatong@tencent.com>
1 parent c7ee2dd commit 507f660

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tencentcloud/resource_tc_ckafka_instance_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ func TestAccTencentCloudCkafkaInstanceResource_prepaid(t *testing.T) {
4444
resource.TestCheckResourceAttr("tencentcloud_ckafka_instance.kafka_instance", "max_message_byte", "1025"),
4545
resource.TestCheckResourceAttr("tencentcloud_ckafka_instance.kafka_instance", "renew_flag", "0"),
4646
resource.TestCheckResourceAttr("tencentcloud_ckafka_instance.kafka_instance", "kafka_version", "1.1.1"),
47-
resource.TestCheckResourceAttr("tencentcloud_ckafka_instance.kafka_instance", "disk_size", "200"),
47+
resource.TestCheckResourceAttr("tencentcloud_ckafka_instance.kafka_instance", "disk_size", "300"),
4848
resource.TestCheckResourceAttr("tencentcloud_ckafka_instance.kafka_instance", "disk_type", "CLOUD_BASIC"),
4949
),
5050
},
5151
{
5252
ResourceName: "tencentcloud_ckafka_instance.kafka_instance",
5353
ImportState: true,
5454
ImportStateVerify: true,
55-
ImportStateVerifyIgnore: []string{"period", "max_message_byte", "charge_type"},
55+
ImportStateVerifyIgnore: []string{"period", "max_message_byte", "charge_type", "upgrade_strategy"},
5656
},
5757
},
5858
})
@@ -128,7 +128,7 @@ func TestAccTencentCloudCkafkaInstanceResource_maz(t *testing.T) {
128128
ResourceName: "tencentcloud_ckafka_instance.kafka_instance",
129129
ImportState: true,
130130
ImportStateVerify: true,
131-
ImportStateVerifyIgnore: []string{"period", "max_message_byte", "charge_type"},
131+
ImportStateVerifyIgnore: []string{"period", "max_message_byte", "charge_type", "upgrade_strategy"},
132132
},
133133
},
134134
})
@@ -154,7 +154,7 @@ func TestAccTencentCloudCkafkaInstanceResource_type(t *testing.T) {
154154
ResourceName: "tencentcloud_ckafka_instance.kafka_instance",
155155
ImportState: true,
156156
ImportStateVerify: true,
157-
ImportStateVerifyIgnore: []string{"period", "max_message_byte", "charge_type"},
157+
ImportStateVerifyIgnore: []string{"period", "max_message_byte", "charge_type", "upgrade_strategy"},
158158
},
159159
},
160160
})
@@ -257,7 +257,7 @@ resource "tencentcloud_ckafka_instance" "kafka_instance" {
257257
max_message_byte = 1025
258258
renew_flag = 0
259259
kafka_version = "1.1.1"
260-
disk_size = 200
260+
disk_size = 300
261261
band_width = 20
262262
disk_type = "CLOUD_BASIC"
263263
partition = 400

0 commit comments

Comments
 (0)