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

Respect namespaces if they are set in test harness. #596

Merged

Conversation

jbarrick-mesosphere
Copy link
Member

What type of PR is this?

/kind feature

What this PR does / why we need it:

This makes it so that if a namespace is set in a resource in a test step or assert that namespace is respected instead of being overwritten with the test case's namespace. This allows tests to be written that span multiple namespaces or test resources that exist in a specific namespace (e.g., check the status of core-dns in kube-system).

Which issue(s) this PR fixes:

N/A

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Tests can now create and assert on resources in any namespace.

Copy link
Contributor

@alenkacz alenkacz left a comment

Choose a reason for hiding this comment

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

LGTM

@jbarrick-mesosphere jbarrick-mesosphere merged commit b466605 into kudobuilder:master Jul 18, 2019
@jbarrick-mesosphere jbarrick-mesosphere deleted the namespaced-tests branch July 18, 2019 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants