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

kubectl: cast notFound error to struct #31375

Merged
merged 1 commit into from Aug 26, 2016
Merged

kubectl: cast notFound error to struct #31375

merged 1 commit into from Aug 26, 2016

Conversation

0xmichalis
Copy link
Contributor

@0xmichalis 0xmichalis commented Aug 24, 2016

Fixes #28378 (the 404 flake)

@kubernetes/kubectl @kubernetes/deployment


This change is Reviewable

@0xmichalis 0xmichalis added area/kubectl kind/flake Categorizes issue or PR as related to a flaky test. labels Aug 24, 2016
@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. release-note-label-needed labels Aug 24, 2016
@0xmichalis 0xmichalis added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note-label-needed labels Aug 24, 2016
@0xmichalis 0xmichalis assigned adohe-zz and unassigned j3ffml Aug 24, 2016
@0xmichalis
Copy link
Contributor Author

@k8s-bot test this issue: #31389

@adohe-zz
Copy link

pkg/kubectl/stop_test.go, line 774 [r1] (raw file):

  reaper := DeploymentReaper{fake, time.Millisecond, time.Millisecond}
  err := reaper.Stop(ns, name, 0, nil)
  fmt.Println(fake.Actions())

Please remove this println, and maybe we can simply check actions.


Comments from Reviewable

@0xmichalis
Copy link
Contributor Author

Done.

On Thu, Aug 25, 2016 at 1:53 AM, TonyAdo notifications@github.com wrote:

pkg/kubectl/stop_test.go, line 774 [r1]
https://reviewable.kubernetes.io:443/reviews/kubernetes/kubernetes/31375#-KPyxvUHs1ljqjHha7tL:-KPyxvUHs1ljqjHha7tM:bft3lwu
(raw file

fmt.Println(fake.Actions())
):

reaper := DeploymentReaper{fake, time.Millisecond, time.Millisecond}
err := reaper.Stop(ns, name, 0, nil)
fmt.Println(fake.Actions())

Please remove this println, and maybe we can simply check actions.

Comments from Reviewable
https://reviewable.kubernetes.io:443/reviews/kubernetes/kubernetes/31375


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#31375 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuFf5KhUkLkGGyZpSfk_RN7R7WFWrcdks5qjNlrgaJpZM4JsbRM
.

@k8s-bot
Copy link

k8s-bot commented Aug 25, 2016

GCE e2e build/test passed for commit 4c56b8c.

@adohe-zz
Copy link

:lgtm:


Comments from Reviewable

@adohe-zz
Copy link

:lgtm:


Comments from Reviewable

@0xmichalis 0xmichalis added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 25, 2016
@0xmichalis
Copy link
Contributor Author

@pwittrock @gmarek this fixes the 404 in #28378 (missed from #29484). Should we add a 1.4 milestone?

@wojtek-t
Copy link
Member

That is P1 flake - yes we should. Adding.

@wojtek-t wojtek-t modified the milestones: v1.5, v1.4 Aug 26, 2016
@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Aug 26, 2016

GCE e2e build/test passed for commit 4c56b8c.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 0154158 into kubernetes:master Aug 26, 2016
@0xmichalis 0xmichalis deleted the cast-to-actual-type branch August 26, 2016 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubectl kind/flake Categorizes issue or PR as related to a flaky test. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants