Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
Signed-off-by: fahed dorgaa <[email protected]>
  • Loading branch information
fahedouch committed Oct 23, 2021
1 parent 68f1467 commit 9c68f55
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pkg/clients/cloudsql/cloudsql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,19 @@ func TestLateInitializeSpec(t *testing.T) {
p.Settings.DataDiskSizeGb = gcp.Int64Ptr(30)
})},
},
"ReplicaNamesSynced": {
args: args{
params: params(func(p *v1beta1.CloudSQLInstanceParameters) {
p.ReplicaNames = []string{"my-replica1"}
}),
db: db(func(db *sqladmin.DatabaseInstance) {
db.ReplicaNames = []string{"my-replica1", "my-replica2"}
}),
},
want: want{params: params(func(p *v1beta1.CloudSQLInstanceParameters) {
p.ReplicaNames = []string{"my-replica1", "my-replica2"}
})},
},
"AutoResizeAllowsIncrease": {
args: args{
params: params(func(p *v1beta1.CloudSQLInstanceParameters) {
Expand Down

0 comments on commit 9c68f55

Please sign in to comment.