Skip to content

Add more service status propagation tests - #1627

Merged
google-prow-robot merged 2 commits into
knative:masterfrom
jonjohnsonjr:jon/1224
Jul 25, 2018
Merged

google-prow-robot merged 2 commits into
knative:masterfrom
jonjohnsonjr:jon/1224

Conversation

@jonjohnsonjr

Copy link
Copy Markdown
Contributor

This breaks out recovery from the TypicalServiceFlow into the happy
path, route recovery, and configuration recovery.

Fixes #1224

This breaks out recovery from the TypicalServiceFlow into the happy
path, route recovery, and configuration recovery.

Fixes #1224
@google-prow-robot google-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 19, 2018
@jonjohnsonjr

Copy link
Copy Markdown
Contributor Author

/assign @mattmoor

checkConditionFailedService(svc.Status, ServiceConditionRoutesReady, t)
}

func TestRouteFailureRecovery(t *testing.T) {

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.

I think when one fails, both failing is likely (at initial deployment). You might add a test for that as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done 👍

Since they are likely to fail together, we test that we can recover from
both route and config failing then becoming ready.
@google-prow-robot google-prow-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 23, 2018
@knative-metrics-robot

Copy link
Copy Markdown

The following is the coverage report on pkg/.
Say /test pull-knative-serving-go-coverage to run the coverage report again

File Old Coverage New Coverage Delta
pkg/apis/serving/v1alpha1/service_types.go 98.4% 98.4% 0.0

@mattmoor mattmoor left a comment

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.

/lgtm
/approve

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 25, 2018
@google-prow-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

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

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

The pull request process is described here

Details 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

@google-prow-robot google-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 25, 2018
@google-prow-robot
google-prow-robot merged commit 65577f3 into knative:master Jul 25, 2018
ZhiminXiang pushed a commit to ZhiminXiang/serving-1 that referenced this pull request Aug 2, 2018
* Add more service status propagation tests

This breaks out recovery from the TypicalServiceFlow into the happy
path, route recovery, and configuration recovery.

Fixes knative#1224

* Add failure recovery for route and config

Since they are likely to fail together, we test that we can recover from
both route and config failing then becoming ready.
@jonjohnsonjr
jonjohnsonjr deleted the jon/1224 branch September 10, 2018 21:27
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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants