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

e2e test cases should clean up more effectively #12408

Merged
merged 1 commit into from
Aug 11, 2015

Conversation

smarterclayton
Copy link
Contributor

Graceful deletion exposes weakness in cleanup paths, add
common hooks for waiting for namespace deletion to complete,
use direct delection where necessary, and add some debug output
for finding cleanup flags (namespaces that aren't fully deleted)

Extracted from #9165 - makes e2e more resilient to transients

@k8s-bot
Copy link

k8s-bot commented Aug 7, 2015

GCE e2e build/test passed for commit 9e3c742ded50f7f247a9b1f1783e3c85cbf69971.

@smarterclayton
Copy link
Contributor Author

Ping - trying to get this cleared so we can get graceful deletion unblocked


pods, err = podClient.List(labels.SelectorFromSet(labels.Set(map[string]string{"time": value})), fields.Everything())
if err != nil {
Fail(fmt.Sprintf("Failed to delete pod: %v", err))
Copy link
Member

Choose a reason for hiding this comment

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

this is more "failed to list" than "failed to delete", right?

@smarterclayton
Copy link
Contributor Author

Addressed feedback

@k8s-bot
Copy link

k8s-bot commented Aug 10, 2015

GCE e2e build/test passed for commit 479ba5cd7a62d7c3b9c8582f26127766ac24837b.

@ixdy
Copy link
Member

ixdy commented Aug 10, 2015

other than those two issues, LGTM

Graceful deletion exposes weakness in cleanup paths, add
common hooks for waiting for namespcae deletion to complete,
use direct delection where necessary, and add some debug output
for finding cleanup flags (namespaces that aren't fully deleted)
@k8s-bot
Copy link

k8s-bot commented Aug 10, 2015

GCE e2e build/test passed for commit e623d33.

@smarterclayton
Copy link
Contributor Author

Comments addressed

@ixdy
Copy link
Member

ixdy commented Aug 11, 2015

LGTM, thanks!

@ixdy ixdy added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 11, 2015
a-robinson added a commit that referenced this pull request Aug 11, 2015
e2e test cases should clean up more effectively
@a-robinson a-robinson merged commit 9036f2c into kubernetes:master Aug 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants