Skip to content

Make service e2e tests retry to avoid flakes - #15957

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
danwinship:service-test-flake
Aug 26, 2017
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
danwinship:service-test-flake

Conversation

@danwinship

Copy link
Copy Markdown
Contributor

This is an attempt to fix #14385; given that our tests tend to flake but the upstream service tests don't, it seems like we should make our tests more like theirs. So this replaces our checkConnectivityToHost code with code mostly copied from the upstream execSourceipTest (which, among other things, retries on failure until the timeout is reached).

There are actually a lot of changes we could make to our tests to use new upstream code, but I wanted to keep this simple for now to avoid introducing new flakes.

Fixes #14385 (hopefully)

@openshift-merge-robot openshift-merge-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 24, 2017
@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 24, 2017
@danwinship

Copy link
Copy Markdown
Contributor Author

flake #13966
/test unit

@knobunc

knobunc commented Aug 24, 2017

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 24, 2017
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danwinship, knobunc

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

@jim-minter jim-minter removed their assignment Aug 24, 2017
@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

Automatic merge from submit-queue (batch tested with PRs 15942, 15940, 15957, 15858, 15946)

@openshift-merge-robot
openshift-merge-robot merged commit f29206e into openshift:master Aug 26, 2017
@danwinship
danwinship deleted the service-test-flake branch August 26, 2017 13:47
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. component/networking lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

6 participants