-
Notifications
You must be signed in to change notification settings - Fork 24
Fixed testsuite #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed testsuite #265
Conversation
7f65879
to
a77b331
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes various issues in the testsuite including correcting a typo, improving documentation formatting, and enhancing test cleanup procedures.
- Fixed a spelling error in a comment ("scenerio" → "scenario")
- Updated README files with improved formatting and increased test timeouts
- Added cleanup functionality to remove local Terraform state files after test execution
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
aws-observability-terraform/test/sourcemodule/source_test.go | Fixed spelling error in comment |
aws-observability-terraform/test/sourcemodule/README.md | Improved formatting and increased test timeout |
aws-observability-terraform/test/appmodule/terraform.go | Added cleanup logic to remove local state files |
aws-observability-terraform/test/appmodule/README.md | Improved formatting and increased test timeout |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
- Run following command to execute all Test functions, with function name pattern as Test* | ||
```go test -v -timeout 100m ./test/sourcemodule``` | ||
For single Terratest case | ||
``go test -v -timeout 20m ./test/sourcemodule -run ^TestSourceModule1$`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code block uses incorrect backticks. It should use triple backticks for proper markdown formatting like the previous example.
``go test -v -timeout 20m ./test/sourcemodule -run ^TestSourceModule1$`` | |
```go test -v -timeout 20m ./test/sourcemodule -run ^TestSourceModule1$``` |
Copilot uses AI. Check for mistakes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.