Skip to content

Fix initializer_manager_test.go flake#46648

Merged
k8s-github-robot merged 1 commit intokubernetes:masterfrom
caesarxuchao:fix-46631
Jun 2, 2017
Merged

Fix initializer_manager_test.go flake#46648
k8s-github-robot merged 1 commit intokubernetes:masterfrom
caesarxuchao:fix-46631

Conversation

@caesarxuchao
Copy link
Copy Markdown
Contributor

Fixes #46631.

I reproduced the flake after 98 runs.

With the fix, it's not flaky in 1000 runs.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 30, 2017
@caesarxuchao caesarxuchao changed the title fix flake Fix flake May 30, 2017
@k8s-github-robot k8s-github-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. release-note-label-needed labels May 30, 2017
@caesarxuchao caesarxuchao changed the title Fix flake Fix initializer_manager_test.go flake May 30, 2017
@caesarxuchao
Copy link
Copy Markdown
Contributor Author

/release-note-none

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note-label-needed labels May 30, 2017
@caesarxuchao caesarxuchao added the kind/bug Categorizes issue or PR as related to a bug. label May 31, 2017
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is not a good way to fix a flake. Maybe instead of letting the manager run, just call its sync method or whatever manually.

@k8s-github-robot k8s-github-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 31, 2017
@lavalamp
Copy link
Copy Markdown
Contributor

/lgtm
/approve

Thanks, much better!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 31, 2017
@k8s-github-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: caesarxuchao, lavalamp

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 31, 2017
@caesarxuchao
Copy link
Copy Markdown
Contributor Author

@k8s-bot pull-kubernetes-e2e-gce-etcd3 test this

@caesarxuchao
Copy link
Copy Markdown
Contributor Author

i'll add a priority label since it's fixing a flaky test.

@smarterclayton smarterclayton added this to the v1.7 milestone Jun 1, 2017
@smarterclayton smarterclayton added the kind/flake Categorizes issue or PR as related to a flaky test. label Jun 1, 2017
@caesarxuchao caesarxuchao added the kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. label Jun 1, 2017
@caesarxuchao
Copy link
Copy Markdown
Contributor Author

@foxish do you know what priority label i should put on this flake fixing PR to let submit queue merge it quicker?

@smarterclayton
Copy link
Copy Markdown
Contributor

@kubernetes/sig-testing-bugs did we drop the priority for flakes that are blocking the queue for it to move to the top of the queue? This issue caused the last batch to flake, but we don't how to bump it.

@k8s-ci-robot k8s-ci-robot added sig/testing Categorizes an issue or PR as relevant to SIG Testing. kind/bug Categorizes issue or PR as related to a bug. labels Jun 2, 2017
@smarterclayton
Copy link
Copy Markdown
Contributor

@k8s-oncall ^

@caesarxuchao
Copy link
Copy Markdown
Contributor Author

caesarxuchao commented Jun 2, 2017

@kubernetes/kubernetes-build-cops ^^^

@foxish
Copy link
Copy Markdown
Contributor

foxish commented Jun 2, 2017

Added queue/critical-fix to bump this up. Description of each label is in https://submit-queue.k8s.io/#/info

@smarterclayton
Copy link
Copy Markdown
Contributor

smarterclayton commented Jun 2, 2017 via email

@k8s-github-robot
Copy link
Copy Markdown

Automatic merge from submit-queue (batch tested with PRs 46648, 46500, 46238, 46668, 46557)

@k8s-github-robot k8s-github-robot merged commit 6a4b4a5 into kubernetes:master Jun 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. 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. sig/testing Categorizes an issue or PR as relevant to SIG Testing. 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.

[flake] pkg/kubeapiserver/admission/configuration TestConfiguration

6 participants