Skip to content

remove a flaky / incorrect test#3656

Merged
istio-merge-robot merged 1 commit intoistio:masterfrom
jmuk:flake
Feb 21, 2018
Merged

remove a flaky / incorrect test#3656
istio-merge-robot merged 1 commit intoistio:masterfrom
jmuk:flake

Conversation

@jmuk
Copy link
Copy Markdown
Contributor

@jmuk jmuk commented Feb 21, 2018

As reported, the test case TestQueueCancelSync is flakey, but
actually that's because the test case is based on a wrong assumption. The test case
assumes that select chooses the clause of donec after closing
it, but there's a race condition that another clause can proceed
(and can be chosen), which causes the flake.

By considering this, the test case should be rather removed.

Fixes #3646

As reported, the test case TestQueueCancelSync is flakey, but
actually that's because the test case is based on a wrong assumption.
The test case assumes that `select` chooses the clause of `donec`
after closing it, but there's a race condition that another clause
becomes selectable, which makes this test flaky.

By considering these things, this test case should be rather removed.

Fixes istio#3646
@jmuk jmuk requested a review from a team February 21, 2018 19:08
@jmuk
Copy link
Copy Markdown
Contributor Author

jmuk commented Feb 21, 2018

/assign @ldemailly

@ldemailly
Copy link
Copy Markdown
Member

hmm so no test at all ?

/lgtm

@istio-merge-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ldemailly

The full list of commands accepted by this bot can be found here.

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

@istio-merge-robot
Copy link
Copy Markdown

/test all [submit-queue is verifying that this PR is safe to merge]

@istio-merge-robot
Copy link
Copy Markdown

Automatic merge from submit-queue.

@istio-merge-robot istio-merge-robot merged commit 6ab44cd into istio:master Feb 21, 2018
@istio-testing
Copy link
Copy Markdown
Collaborator

@jmuk: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
prow/istio-pilot-e2e.sh 68d2e69 link /test istio-pilot-e2e
Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants