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

Move the various "defer" calls before the creation in pods.go e2e test. #4631

Merged
merged 1 commit into from
Feb 23, 2015

Conversation

fabioy
Copy link
Contributor

@fabioy fabioy commented Feb 19, 2015

Suggested as a way to help with test flakiness. Ran 25 iterations of this e2e test with no failure.

@@ -124,16 +124,14 @@ var _ = Describe("Pods", func() {
}

By("submitting the pod to kubernetes")
// We call defer here in case there is a problem with
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure this comment is really necessary since the semantics of defer are well known to go developers.

@roberthbailey roberthbailey added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 20, 2015
@roberthbailey
Copy link
Contributor

LGTM.

zmerlynn added a commit that referenced this pull request Feb 23, 2015
Move the various "defer" calls before the creation in pods.go e2e test.
@zmerlynn zmerlynn merged commit 490624c into kubernetes:master Feb 23, 2015
@fabioy fabioy deleted the fix-pods.go branch February 23, 2015 23:01
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.

4 participants