@@ -137,14 +137,16 @@ func TestDatabase_List(t *testing.T) {
137
137
"name": "first-example",
138
138
"protocol": "redis",
139
139
"provider": "AWS",
140
- "region": "eu-west-1"
140
+ "region": "eu-west-1",
141
+ "queryPerformanceFactor": "Standard"
141
142
},
142
143
{
143
144
"databaseId": 43,
144
145
"name": "second-example",
145
146
"protocol": "redis",
146
147
"provider": "AWS",
147
- "region": "eu-west-1"
148
+ "region": "eu-west-1",
149
+ "queryPerformanceFactor": "Standard"
148
150
}
149
151
]
150
152
}
@@ -170,18 +172,20 @@ func TestDatabase_List(t *testing.T) {
170
172
171
173
assert .Equal (t , []* databases.Database {
172
174
{
173
- ID : redis .Int (42 ),
174
- Name : redis .String ("first-example" ),
175
- Protocol : redis .String ("redis" ),
176
- Provider : redis .String ("AWS" ),
177
- Region : redis .String ("eu-west-1" ),
175
+ ID : redis .Int (42 ),
176
+ Name : redis .String ("first-example" ),
177
+ Protocol : redis .String ("redis" ),
178
+ Provider : redis .String ("AWS" ),
179
+ Region : redis .String ("eu-west-1" ),
180
+ QueryPerformanceFactor : redis .String ("Standard" ),
178
181
},
179
182
{
180
- ID : redis .Int (43 ),
181
- Name : redis .String ("second-example" ),
182
- Protocol : redis .String ("redis" ),
183
- Provider : redis .String ("AWS" ),
184
- Region : redis .String ("eu-west-1" ),
183
+ ID : redis .Int (43 ),
184
+ Name : redis .String ("second-example" ),
185
+ Protocol : redis .String ("redis" ),
186
+ Provider : redis .String ("AWS" ),
187
+ Region : redis .String ("eu-west-1" ),
188
+ QueryPerformanceFactor : redis .String ("Standard" ),
185
189
},
186
190
}, actual )
187
191
@@ -211,6 +215,7 @@ func TestDatabase_Get(t *testing.T) {
211
215
"by": "operations-per-second",
212
216
"value": 10000
213
217
},
218
+ "QueryPerformanceFactor": "Standard",
214
219
"activatedOn": "2020-11-03T09:03:30Z",
215
220
"lastModified": "2020-11-03T09:03:30Z",
216
221
"publicEndpoint": "example.com:16668",
@@ -286,6 +291,7 @@ func TestDatabase_Get(t *testing.T) {
286
291
By : redis .String ("operations-per-second" ),
287
292
Value : redis .Int (10_000 ),
288
293
},
294
+ QueryPerformanceFactor : redis .String ("Standard" ),
289
295
Clustering : & databases.Clustering {
290
296
NumberOfShards : redis .Int (1 ),
291
297
RegexRules : []* databases.RegexRule {
0 commit comments