@@ -68,6 +68,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
68
68
AvailabilityZone : aws .String ("us-east-1a" ),
69
69
DBInstanceStatus : aws .String ("available" ),
70
70
Engine : aws .String ("aurora-postgresql" ),
71
+ DBName : aws .String ("postgres" ),
71
72
},
72
73
},
73
74
}, nil ).Times (1 )
@@ -81,6 +82,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
81
82
Port : 5432 ,
82
83
IamEnabled : true ,
83
84
Engine : "aurora-postgresql" ,
85
+ DbName : "postgres" ,
84
86
},
85
87
},
86
88
},
@@ -101,6 +103,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
101
103
AvailabilityZone : aws .String ("us-east-1a" ),
102
104
DBInstanceStatus : aws .String ("available" ),
103
105
Engine : aws .String ("aurora-postgresql" ),
106
+ DBName : aws .String ("postgres" ),
104
107
},
105
108
{
106
109
Endpoint : & types.Endpoint {
@@ -112,6 +115,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
112
115
AvailabilityZone : aws .String ("us-east-1a" ),
113
116
DBInstanceStatus : aws .String ("available" ),
114
117
Engine : aws .String ("aurora-postgresql" ),
118
+ DBName : aws .String ("postgres" ),
115
119
},
116
120
{
117
121
Endpoint : & types.Endpoint {
@@ -123,6 +127,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
123
127
AvailabilityZone : aws .String ("us-east-1a" ),
124
128
DBInstanceStatus : aws .String ("available" ),
125
129
Engine : aws .String ("aurora-postgresql" ),
130
+ DBName : aws .String ("postgres" ),
126
131
},
127
132
},
128
133
}, nil ).Times (1 )
@@ -136,18 +141,21 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
136
141
Port : 5432 ,
137
142
IamEnabled : true ,
138
143
Engine : "aurora-postgresql" ,
144
+ DbName : "postgres" ,
139
145
},
140
146
{
141
147
Endpoint : "test-endpoint-2" ,
142
148
Port : 5432 ,
143
149
IamEnabled : false ,
144
150
Engine : "aurora-postgresql" ,
151
+ DbName : "postgres" ,
145
152
},
146
153
{
147
154
Endpoint : "test-endpoint-3" ,
148
155
Port : 5444 ,
149
156
IamEnabled : false ,
150
157
Engine : "aurora-postgresql" ,
158
+ DbName : "postgres" ,
151
159
},
152
160
},
153
161
},
@@ -168,6 +176,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
168
176
AvailabilityZone : aws .String ("us-east-1a" ),
169
177
DBInstanceStatus : aws .String ("available" ),
170
178
Engine : aws .String ("aurora-postgresql" ),
179
+ DBName : aws .String ("postgres" ),
171
180
},
172
181
{
173
182
Endpoint : & types.Endpoint {
@@ -179,6 +188,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
179
188
AvailabilityZone : aws .String ("us-east-1a" ),
180
189
DBInstanceStatus : aws .String ("terminating" ),
181
190
Engine : aws .String ("aurora-postgresql" ),
191
+ DBName : aws .String ("postgres" ),
182
192
},
183
193
{
184
194
Endpoint : & types.Endpoint {
@@ -190,6 +200,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
190
200
AvailabilityZone : aws .String ("us-east-1a" ),
191
201
DBInstanceStatus : aws .String ("terminating" ),
192
202
Engine : aws .String ("aurora-postgresql" ),
203
+ DBName : aws .String ("postgres" ),
193
204
},
194
205
},
195
206
}, nil ).Times (1 )
@@ -203,6 +214,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
203
214
Port : 5432 ,
204
215
IamEnabled : true ,
205
216
Engine : "aurora-postgresql" ,
217
+ DbName : "postgres" ,
206
218
},
207
219
},
208
220
},
@@ -223,6 +235,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
223
235
AvailabilityZone : aws .String ("us-east-1a" ),
224
236
DBInstanceStatus : aws .String ("available" ),
225
237
Engine : aws .String ("aurora-postgresql" ),
238
+ DBName : aws .String ("postgres" ),
226
239
},
227
240
},
228
241
}, nil ).Times (1 )
@@ -239,6 +252,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
239
252
Port : 5432 ,
240
253
IamEnabled : true ,
241
254
Engine : "aurora-postgresql" ,
255
+ DbName : "postgres" ,
242
256
},
243
257
},
244
258
},
@@ -259,6 +273,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
259
273
AvailabilityZone : aws .String ("us-east-1a" ),
260
274
DBInstanceStatus : aws .String ("available" ),
261
275
Engine : aws .String ("aurora-postgresql" ),
276
+ DBName : aws .String ("postgres" ),
262
277
},
263
278
{
264
279
Endpoint : & types.Endpoint {
@@ -270,6 +285,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
270
285
AvailabilityZone : aws .String ("us-east-1a" ),
271
286
DBInstanceStatus : aws .String ("available" ),
272
287
Engine : aws .String ("aurora-postgresql" ),
288
+ DBName : aws .String ("postgres" ),
273
289
},
274
290
},
275
291
}, nil ).Times (1 )
@@ -286,6 +302,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
286
302
AvailabilityZone : aws .String ("us-east-1c" ),
287
303
DBInstanceStatus : aws .String ("available" ),
288
304
Engine : aws .String ("aurora-postgresql" ),
305
+ DBName : aws .String ("postgres" ),
289
306
},
290
307
},
291
308
}, nil ).Times (1 )
@@ -299,12 +316,14 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
299
316
Port : 5432 ,
300
317
IamEnabled : true ,
301
318
Engine : "aurora-postgresql" ,
319
+ DbName : "postgres" ,
302
320
},
303
321
{
304
322
Endpoint : "test-endpoint-2" ,
305
323
Port : 5432 ,
306
324
IamEnabled : false ,
307
325
Engine : "aurora-postgresql" ,
326
+ DbName : "postgres" ,
308
327
},
309
328
},
310
329
},
@@ -315,6 +334,7 @@ func TestGetAuroraClusterEndpoints(t *testing.T) {
315
334
Port : 5444 ,
316
335
IamEnabled : true ,
317
336
Engine : "aurora-postgresql" ,
337
+ DbName : "postgres" ,
318
338
},
319
339
},
320
340
},
0 commit comments