Skip to content

Commit

Permalink
remove deprecated service AWS SMS integ tests (#4834)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahvita committed May 10, 2023
1 parent 9d4285e commit 225097c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 67 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG_PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
### SDK Enhancements

### SDK Bugs

* `service/sms`: Remove deprecated services (SMS) integration tests.
* SMS integration tests will fail because SMS deprecated their service.
4 changes: 3 additions & 1 deletion private/model/cli/gen-api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ func writeServiceFiles(g *generateInfo, pkgDir string) {
Must(writeS3ManagerUploadInputFile(g))
}

if len(g.API.SmokeTests.TestCases) > 0 {
// SMS service is deprecated and endpoints are turned off, so dont generate
// integration tests for that service.
if len(g.API.SmokeTests.TestCases) > 0 && g.API.PackageName() != "sms" {
Must(writeAPISmokeTestsFile(g))
}
}
Expand Down
66 changes: 0 additions & 66 deletions service/sms/integ_test.go

This file was deleted.

0 comments on commit 225097c

Please sign in to comment.