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

Use subtest labels for cleanup #577

Merged
merged 1 commit into from
Sep 25, 2023
Merged

Conversation

TheSpiritXIII
Copy link
Member

This PR is the first part of multiple for allowing tests to be able to run run isolated from each other. Currently some subtests are broken because they rely on configurations to get created from prior subtests.

Using labels for tests allows us to remove resources in subtests in the future to ensure that all subtests are completely independent. This also helps prevent name collisions in resources and allows tests to be more robust. The existing tests already used labels for namespaces, but this expands them by making labels more explicit.

Copy link
Collaborator

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍🏽

@bwplotka bwplotka merged commit aec1ef1 into main Sep 25, 2023
8 checks passed
@TheSpiritXIII TheSpiritXIII deleted the TheSpiritXIII/subtest-labels branch September 25, 2023 18:28
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.

3 participants