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

Wait for Route readiness in TestSingleConcurrency #2308

Merged

Conversation

bbrowning
Copy link
Contributor

TestSingleConcurrency was waiting for the Revision to be Ready but should also wait on the Route to both be Ready and respond successfully to a request before proceeding with the rest of the test.

This pulls probeDomain from the blue green test out into test.ProbeDomain because, until #1582 is fixed, every test that sends traffic to a Route should probably probe the domain first in some way to prevent flakes.

Fixes #2306

Release Note

NONE

TestSingleConcurrency was waiting for the Revision to be Ready but
should also wait on the Route to both be Ready and respond
successfully to a request before proceeding with the rest of the test.
@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 24, 2018
Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@bbrowning: 1 warning.

In response to this:

TestSingleConcurrency was waiting for the Revision to be Ready but should also wait on the Route to both be Ready and respond successfully to a request before proceeding with the rest of the test.

This pulls probeDomain from the blue green test out into test.ProbeDomain because, until #1582 is fixed, every test that sends traffic to a Route should probably probe the domain first in some way to prevent flakes.

Fixes #2306

Release Note

NONE

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.

test/route.go Outdated Show resolved Hide resolved
@tcnghia
Copy link
Contributor

tcnghia commented Oct 24, 2018

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 24, 2018
@tcnghia
Copy link
Contributor

tcnghia commented Oct 25, 2018

/retest

@bbrowning
Copy link
Contributor Author

/test pull-knative-serving-integration-tests

@mattmoor
Copy link
Member

/approve

@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bbrowning, mattmoor

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

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 25, 2018
@knative-prow-robot knative-prow-robot merged commit c8d2b27 into knative:master Oct 25, 2018
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. 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
Development

Successfully merging this pull request may close these issues.

TestSingleConcurrency is flake
4 participants