-
Notifications
You must be signed in to change notification settings - Fork 39k
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
federation-apiserver test: Cleaning up clusters after the test is run #27407
Conversation
Do we need both? It seems like the AfterEach stanza deletes everything anyway. |
Updated the comment to say that we test that delete works. |
nit: I would make the cluster deletion test a separate one (i.e. a separate "It" clause). Also, I'm slightly confused. The cluster deletion in the AfterEach() clause has already been added in: ? |
The one in #26636 is for the clusters that federated-service added. |
GCE e2e build/test passed for commit 912df9b. |
@nikhiljindal My apologies, yes, I was confusing two different sets of tests (federation-apiserver and federation-service). If we moved both of those into the same test file, we could remove all of the duplicate code. Besides that, the distinction is rather artificial in the context of e2e tests. e.g. both create services, it just happens that one person wrote one of them to test api server, and the other to test servicecontroller. Lets put in a followup PR to merge these two sets of tests. |
Adding retest not required label since this PR only affects the federation e2e which is not tested by the merge bot anyway. |
Manual build cop merge. |
The test was not deleting clusters after it completes
cc @kubernetes/sig-cluster-federation @mml