Skip to content
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

Add make command to run a specific e2e test #1547

Draft
wants to merge 2 commits into
base: fanny/refactor-kind-e2e
Choose a base branch
from

Conversation

swang392
Copy link
Contributor

@swang392 swang392 commented Dec 4, 2024

What does this PR do?

Adds a new make command to run a specific E2E test by setting the E2ETESTNAME environment variable in your terminal to the name of the desired test.
Removes parentheses from E2E test names

Motivation

Sometimes we don't want to run the entire E2E test suite, especially when trying to check or develop one test.

Additional Notes

Anything else we should know when reviewing?

Minimum Agent Versions

Are there minimum versions of the Datadog Agent and/or Cluster Agent required?

  • Agent: vX.Y.Z
  • Cluster Agent: vX.Y.Z

Describe your test plan

  • set E2ETESTNAME in your terminal window to the full name of an E2E test. ex: export E2ETEST=TestLocalKindSuite/TestGenericK8s/Minimal_DDA_config
  • run make e2e-test-specific
  • check that only the test you specified has run.

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies
  • PR has a milestone or the qa/skip-qa label

@swang392 swang392 added this to the v1.12.0 milestone Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant