Skip to content

Commit 5057d86

Browse files
tongyimingmikatong
andauthored
fix: unit test tcaplusdb (#857)
Co-authored-by: mikatong <mikatong@tencent.com>
1 parent c4776d8 commit 5057d86

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

tencentcloud/resource_tc_tcaplus_table.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,6 @@ func resourceTencentCloudTcaplusTableRead(d *schema.ResourceData, meta interface
373373
_ = d.Set("table_type", tableInfo.TableType)
374374
_ = d.Set("description", tableInfo.Memo)
375375
_ = d.Set("table_idl_type", tableInfo.TableIdlType)
376-
_ = d.Set("reserved_read_cu", tableInfo.ReservedReadQps)
377-
_ = d.Set("reserved_write_cu", tableInfo.ReservedWriteQps)
378376
_ = d.Set("reserved_volume", tableInfo.ReservedVolume)
379377
_ = d.Set("create_time", tableInfo.CreatedTime)
380378
if tableInfo.Error != nil && tableInfo.Error.Message != nil {

tencentcloud/resource_tc_tcaplus_table_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ func TestAccTencentCloudTcaplusTableResource(t *testing.T) {
3333
resource.TestCheckResourceAttr(testTcaplusTableResourceNameResourceKey, "table_type", "GENERIC"),
3434
resource.TestCheckResourceAttr(testTcaplusTableResourceNameResourceKey, "description", "test"),
3535
resource.TestCheckResourceAttr(testTcaplusTableResourceNameResourceKey, "table_idl_type", "PROTO"),
36-
resource.TestCheckResourceAttr(testTcaplusTableResourceNameResourceKey, "reserved_read_cu", "1000"),
37-
resource.TestCheckResourceAttr(testTcaplusTableResourceNameResourceKey, "reserved_write_cu", "20"),
3836
resource.TestCheckResourceAttr(testTcaplusTableResourceNameResourceKey, "reserved_volume", "1"),
3937
resource.TestCheckResourceAttr(testTcaplusTableResourceNameResourceKey, "error", ""),
4038
),

0 commit comments

Comments
 (0)