Skip to content

Commit ca0637e

Browse files
Remove incorrect endpoint tests
1 parent 535d5a4 commit ca0637e

File tree

2 files changed

+0
-104
lines changed

2 files changed

+0
-104
lines changed

generator/ServiceModels/voice-id/voice-id-2021-09-27.endpoint-tests.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -234,17 +234,6 @@
234234
"UseDualStack": false
235235
}
236236
},
237-
{
238-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
239-
"expect": {
240-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
241-
},
242-
"params": {
243-
"Region": "us-iso-east-1",
244-
"UseFIPS": true,
245-
"UseDualStack": true
246-
}
247-
},
248237
{
249238
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
250239
"expect": {
@@ -258,17 +247,6 @@
258247
"UseDualStack": false
259248
}
260249
},
261-
{
262-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
263-
"expect": {
264-
"error": "DualStack is enabled but this partition does not support DualStack"
265-
},
266-
"params": {
267-
"Region": "us-iso-east-1",
268-
"UseFIPS": false,
269-
"UseDualStack": true
270-
}
271-
},
272250
{
273251
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
274252
"expect": {
@@ -282,17 +260,6 @@
282260
"UseDualStack": false
283261
}
284262
},
285-
{
286-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
287-
"expect": {
288-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
289-
},
290-
"params": {
291-
"Region": "us-isob-east-1",
292-
"UseFIPS": true,
293-
"UseDualStack": true
294-
}
295-
},
296263
{
297264
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
298265
"expect": {
@@ -306,17 +273,6 @@
306273
"UseDualStack": false
307274
}
308275
},
309-
{
310-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
311-
"expect": {
312-
"error": "DualStack is enabled but this partition does not support DualStack"
313-
},
314-
"params": {
315-
"Region": "us-isob-east-1",
316-
"UseFIPS": false,
317-
"UseDualStack": true
318-
}
319-
},
320276
{
321277
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
322278
"expect": {

sdk/test/Services/VoiceID/UnitTests/Generated/Endpoints/VoiceIDEndpointProviderTests.cs

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -298,21 +298,6 @@ public void For_region_usgoveast1_with_FIPS_disabled_and_DualStack_disabled_Test
298298
Assert.AreEqual("https://voiceid.us-gov-east-1.amazonaws.com", endpoint.URL);
299299
}
300300

301-
[TestMethod]
302-
[TestCategory("UnitTest")]
303-
[TestCategory("Endpoints")]
304-
[TestCategory("VoiceID")]
305-
[Description("For region us-iso-east-1 with FIPS enabled and DualStack enabled")]
306-
[ExpectedException(typeof(AmazonClientException), @"FIPS and DualStack are enabled, but this partition does not support one or both")]
307-
public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
308-
{
309-
var parameters = new VoiceIDEndpointParameters();
310-
parameters["Region"] = "us-iso-east-1";
311-
parameters["UseFIPS"] = true;
312-
parameters["UseDualStack"] = true;
313-
var endpoint = new AmazonVoiceIDEndpointProvider().ResolveEndpoint(parameters);
314-
}
315-
316301
[TestMethod]
317302
[TestCategory("UnitTest")]
318303
[TestCategory("Endpoints")]
@@ -328,21 +313,6 @@ public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_disabled_Test(
328313
Assert.AreEqual("https://voiceid-fips.us-iso-east-1.c2s.ic.gov", endpoint.URL);
329314
}
330315

331-
[TestMethod]
332-
[TestCategory("UnitTest")]
333-
[TestCategory("Endpoints")]
334-
[TestCategory("VoiceID")]
335-
[Description("For region us-iso-east-1 with FIPS disabled and DualStack enabled")]
336-
[ExpectedException(typeof(AmazonClientException), @"DualStack is enabled but this partition does not support DualStack")]
337-
public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
338-
{
339-
var parameters = new VoiceIDEndpointParameters();
340-
parameters["Region"] = "us-iso-east-1";
341-
parameters["UseFIPS"] = false;
342-
parameters["UseDualStack"] = true;
343-
var endpoint = new AmazonVoiceIDEndpointProvider().ResolveEndpoint(parameters);
344-
}
345-
346316
[TestMethod]
347317
[TestCategory("UnitTest")]
348318
[TestCategory("Endpoints")]
@@ -358,21 +328,6 @@ public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_disabled_Test
358328
Assert.AreEqual("https://voiceid.us-iso-east-1.c2s.ic.gov", endpoint.URL);
359329
}
360330

361-
[TestMethod]
362-
[TestCategory("UnitTest")]
363-
[TestCategory("Endpoints")]
364-
[TestCategory("VoiceID")]
365-
[Description("For region us-isob-east-1 with FIPS enabled and DualStack enabled")]
366-
[ExpectedException(typeof(AmazonClientException), @"FIPS and DualStack are enabled, but this partition does not support one or both")]
367-
public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
368-
{
369-
var parameters = new VoiceIDEndpointParameters();
370-
parameters["Region"] = "us-isob-east-1";
371-
parameters["UseFIPS"] = true;
372-
parameters["UseDualStack"] = true;
373-
var endpoint = new AmazonVoiceIDEndpointProvider().ResolveEndpoint(parameters);
374-
}
375-
376331
[TestMethod]
377332
[TestCategory("UnitTest")]
378333
[TestCategory("Endpoints")]
@@ -388,21 +343,6 @@ public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_disabled_Test
388343
Assert.AreEqual("https://voiceid-fips.us-isob-east-1.sc2s.sgov.gov", endpoint.URL);
389344
}
390345

391-
[TestMethod]
392-
[TestCategory("UnitTest")]
393-
[TestCategory("Endpoints")]
394-
[TestCategory("VoiceID")]
395-
[Description("For region us-isob-east-1 with FIPS disabled and DualStack enabled")]
396-
[ExpectedException(typeof(AmazonClientException), @"DualStack is enabled but this partition does not support DualStack")]
397-
public void For_region_usisobeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
398-
{
399-
var parameters = new VoiceIDEndpointParameters();
400-
parameters["Region"] = "us-isob-east-1";
401-
parameters["UseFIPS"] = false;
402-
parameters["UseDualStack"] = true;
403-
var endpoint = new AmazonVoiceIDEndpointProvider().ResolveEndpoint(parameters);
404-
}
405-
406346
[TestMethod]
407347
[TestCategory("UnitTest")]
408348
[TestCategory("Endpoints")]

0 commit comments

Comments
 (0)