Skip to content

feat: Adding E2E log test for RDS database interations #104

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

Merged
merged 4 commits into from
Jul 29, 2024

Conversation

jerry-shao
Copy link
Contributor

@jerry-shao jerry-shao commented Jul 2, 2024

Issue description:
In previous PRs, we allowed the sample app in e2e test to query an RDS database and asserts metrics collected by Application Signals Agent. This PR adds additional test cases for EMF logs.

Description of changes:
This change introduces the expected EMF log templates and asserts them after calling /mysql API.

Test run: https://github.com/jerry-shao/aws-application-signals-test-framework/actions/runs/10089987613/job/27898486859

Ensure you've run the following tests on your changes and include the link below:
To do so, create a test.yml file with name: Test and workflow description to test your changes, then remove the file for your PR. Link your test run in your PR description. This process is a short term solution while we work on creating a staging environment for testing.

NOTE: TESTS RUNNING ON A SINGLE EKS CLUSTER CANNOT BE RUN IN PARALLEL. See the needs keyword to run tests in succession.

  • Run Java EKS on e2e-playground in us-east-1 and eu-central-2
  • Run Python EKS on e2e-playground in us-east-1 and eu-central-2
  • Run metric limiter on EKS cluster e2e-playground in us-east-1 and eu-central-2
  • Run EC2 tests in all regions
  • Run K8s on a separate K8s cluster (check IAD test account for master node endpoints; these will change as we create and destroy clusters for OS patching)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jerry-shao jerry-shao marked this pull request as ready for review July 25, 2024 07:57
@majanjua-amzn majanjua-amzn merged commit 1308ba3 into aws-observability:main Jul 29, 2024
1 check passed
@jerry-shao jerry-shao deleted the e2e-tests-log branch July 29, 2024 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants