Skip to content

Commit c240095

Browse files
authored
Update database acceptance test fixture (#3665)
## Why This field is now included in the response payload.
1 parent 39dc760 commit c240095

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

acceptance/bundle/deploy/lakebase/database-instance/single-instance/output.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Deployment complete!
3131
"capacity": "CU_1",
3232
"creation_time": "[TIMESTAMP]Z",
3333
"creator": "[USERNAME]",
34+
"effective_capacity": "CU_1",
3435
"effective_enable_pg_native_login": false,
3536
"effective_enable_readable_secondaries": false,
3637
"effective_node_count": 1,

libs/testserver/database_instances.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func (s *FakeWorkspace) DatabaseInstanceCreate(req Request) Response {
3434
databaseInstance.PgVersion = "PG_VERSION_16"
3535
databaseInstance.EffectiveNodeCount = 1
3636
databaseInstance.EffectiveRetentionWindowInDays = 7
37+
databaseInstance.EffectiveCapacity = databaseInstance.Capacity
3738
databaseInstance.Creator = req.Workspace.CurrentUser().UserName
3839
databaseInstance.CreationTime = time.Now().UTC().Format(time.RFC3339)
3940
databaseInstance.EffectiveEnableReadableSecondaries = false

0 commit comments

Comments
 (0)