Skip to content

Commit 535d5a4

Browse files
Remove incorrect endpoint tests
1 parent 54edb17 commit 535d5a4

File tree

2 files changed

+0
-104
lines changed

2 files changed

+0
-104
lines changed

generator/ServiceModels/textract/textract-2018-06-27.endpoint-tests.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -390,17 +390,6 @@
390390
"UseDualStack": true
391391
}
392392
},
393-
{
394-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
395-
"expect": {
396-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
397-
},
398-
"params": {
399-
"Region": "us-iso-east-1",
400-
"UseFIPS": true,
401-
"UseDualStack": true
402-
}
403-
},
404393
{
405394
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
406395
"expect": {
@@ -414,17 +403,6 @@
414403
"UseDualStack": false
415404
}
416405
},
417-
{
418-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
419-
"expect": {
420-
"error": "DualStack is enabled but this partition does not support DualStack"
421-
},
422-
"params": {
423-
"Region": "us-iso-east-1",
424-
"UseFIPS": false,
425-
"UseDualStack": true
426-
}
427-
},
428406
{
429407
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
430408
"expect": {
@@ -438,17 +416,6 @@
438416
"UseDualStack": false
439417
}
440418
},
441-
{
442-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
443-
"expect": {
444-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
445-
},
446-
"params": {
447-
"Region": "us-isob-east-1",
448-
"UseFIPS": true,
449-
"UseDualStack": true
450-
}
451-
},
452419
{
453420
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
454421
"expect": {
@@ -462,17 +429,6 @@
462429
"UseDualStack": false
463430
}
464431
},
465-
{
466-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
467-
"expect": {
468-
"error": "DualStack is enabled but this partition does not support DualStack"
469-
},
470-
"params": {
471-
"Region": "us-isob-east-1",
472-
"UseFIPS": false,
473-
"UseDualStack": true
474-
}
475-
},
476432
{
477433
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
478434
"expect": {

sdk/test/Services/Textract/UnitTests/Generated/Endpoints/TextractEndpointProviderTests.cs

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -478,21 +478,6 @@ public void For_region_usgoveast1_with_FIPS_disabled_and_DualStack_enabled_Test(
478478
Assert.AreEqual("https://textract.us-gov-east-1.api.aws", endpoint.URL);
479479
}
480480

481-
[TestMethod]
482-
[TestCategory("UnitTest")]
483-
[TestCategory("Endpoints")]
484-
[TestCategory("Textract")]
485-
[Description("For region us-iso-east-1 with FIPS enabled and DualStack enabled")]
486-
[ExpectedException(typeof(AmazonClientException), @"FIPS and DualStack are enabled, but this partition does not support one or both")]
487-
public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
488-
{
489-
var parameters = new TextractEndpointParameters();
490-
parameters["Region"] = "us-iso-east-1";
491-
parameters["UseFIPS"] = true;
492-
parameters["UseDualStack"] = true;
493-
var endpoint = new AmazonTextractEndpointProvider().ResolveEndpoint(parameters);
494-
}
495-
496481
[TestMethod]
497482
[TestCategory("UnitTest")]
498483
[TestCategory("Endpoints")]
@@ -508,21 +493,6 @@ public void For_region_usisoeast1_with_FIPS_enabled_and_DualStack_disabled_Test(
508493
Assert.AreEqual("https://textract-fips.us-iso-east-1.c2s.ic.gov", endpoint.URL);
509494
}
510495

511-
[TestMethod]
512-
[TestCategory("UnitTest")]
513-
[TestCategory("Endpoints")]
514-
[TestCategory("Textract")]
515-
[Description("For region us-iso-east-1 with FIPS disabled and DualStack enabled")]
516-
[ExpectedException(typeof(AmazonClientException), @"DualStack is enabled but this partition does not support DualStack")]
517-
public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
518-
{
519-
var parameters = new TextractEndpointParameters();
520-
parameters["Region"] = "us-iso-east-1";
521-
parameters["UseFIPS"] = false;
522-
parameters["UseDualStack"] = true;
523-
var endpoint = new AmazonTextractEndpointProvider().ResolveEndpoint(parameters);
524-
}
525-
526496
[TestMethod]
527497
[TestCategory("UnitTest")]
528498
[TestCategory("Endpoints")]
@@ -538,21 +508,6 @@ public void For_region_usisoeast1_with_FIPS_disabled_and_DualStack_disabled_Test
538508
Assert.AreEqual("https://textract.us-iso-east-1.c2s.ic.gov", endpoint.URL);
539509
}
540510

541-
[TestMethod]
542-
[TestCategory("UnitTest")]
543-
[TestCategory("Endpoints")]
544-
[TestCategory("Textract")]
545-
[Description("For region us-isob-east-1 with FIPS enabled and DualStack enabled")]
546-
[ExpectedException(typeof(AmazonClientException), @"FIPS and DualStack are enabled, but this partition does not support one or both")]
547-
public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_enabled_Test()
548-
{
549-
var parameters = new TextractEndpointParameters();
550-
parameters["Region"] = "us-isob-east-1";
551-
parameters["UseFIPS"] = true;
552-
parameters["UseDualStack"] = true;
553-
var endpoint = new AmazonTextractEndpointProvider().ResolveEndpoint(parameters);
554-
}
555-
556511
[TestMethod]
557512
[TestCategory("UnitTest")]
558513
[TestCategory("Endpoints")]
@@ -568,21 +523,6 @@ public void For_region_usisobeast1_with_FIPS_enabled_and_DualStack_disabled_Test
568523
Assert.AreEqual("https://textract-fips.us-isob-east-1.sc2s.sgov.gov", endpoint.URL);
569524
}
570525

571-
[TestMethod]
572-
[TestCategory("UnitTest")]
573-
[TestCategory("Endpoints")]
574-
[TestCategory("Textract")]
575-
[Description("For region us-isob-east-1 with FIPS disabled and DualStack enabled")]
576-
[ExpectedException(typeof(AmazonClientException), @"DualStack is enabled but this partition does not support DualStack")]
577-
public void For_region_usisobeast1_with_FIPS_disabled_and_DualStack_enabled_Test()
578-
{
579-
var parameters = new TextractEndpointParameters();
580-
parameters["Region"] = "us-isob-east-1";
581-
parameters["UseFIPS"] = false;
582-
parameters["UseDualStack"] = true;
583-
var endpoint = new AmazonTextractEndpointProvider().ResolveEndpoint(parameters);
584-
}
585-
586526
[TestMethod]
587527
[TestCategory("UnitTest")]
588528
[TestCategory("Endpoints")]

0 commit comments

Comments
 (0)