-
Notifications
You must be signed in to change notification settings - Fork 106
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
Refactor E2E tests #1593
base: main
Are you sure you want to change the base?
Refactor E2E tests #1593
Conversation
9e3e530
to
95e8e72
Compare
cd test/e2e && go get github.com/DataDog/datadog-agent/test/new-e2e@1cc7604f4b6b35a230b3dc1226d35b86034a832a | ||
cd $(ROOT) |
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.
Note: these lines are for testing in the CI. They'll be removed when test/e2e/go.mod
is updated with the new version when it is available.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1593 +/- ##
=======================================
Coverage 48.94% 48.94%
=======================================
Files 227 227
Lines 20636 20636
=======================================
Hits 10101 10101
Misses 10010 10010
Partials 525 525
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Sentry.
|
What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
github.com/DataDog/datadog-agent/test/new-e2e
go module is currently pinned to an older version, so some CI checks will fail. Version will be bumped before merging. See below for testing locallyMinimum Agent Versions
Are there minimum versions of the Datadog Agent and/or Cluster Agent required?
Describe your test plan
To run locally:
From the
test/e2e
directory, rungo get github.com/DataDog/datadog-agent/test/new-e2e@1cc7604f4b6b35a230b3dc1226d35b86034a832a
You may also need to add this replace block to the
test/e2e/go.mod
file and use the development version generated by thego get
command:TestLocalKindSuite
tests (creates local kind environment):/test/e2e
directory:go test ./... -run TestLocalKindSuite -count=1 -v -timeout=0s
TestAWSKindSuite
tests (creates aws kind environment):/test/e2e
directory:aws-vault exec <aws_profile> -- make e2e-tests
Notes:
E2E_SKIP_DELETE_ON_FAILURE=true E2E_DEV_MODE=true
make e2e-tests-keep-stacks
Checklist
bug
,enhancement
,refactoring
,documentation
,tooling
, and/ordependencies
qa/skip-qa
label