Conversation
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mattmoor The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
knative-prow-robot
left a comment
There was a problem hiding this comment.
@mattmoor: 4 warnings.
Details
In response to this:
This is me trying to fixup and finish #2117
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.
| } | ||
|
|
||
| if !equality.Semantic.DeepEqual(c.Resources, want) { | ||
| return false, fmt.Errorf("Invalid resource configuration for pod %v. Want: %+v, got: %+v.", pod.Name, want, c.Resources) |
There was a problem hiding this comment.
Golint errors: error strings should not be capitalized or end with punctuation or a newline. More info.
|
|
||
| if !equality.Semantic.DeepEqual(c.Resources, want) { | ||
| return false, fmt.Errorf("Invalid resource configuration for pod %v. Want: %+v, got: %+v.", pod.Name, want, c.Resources) | ||
| } else { |
There was a problem hiding this comment.
Golint indent: if block ends with a return statement, so drop this else and outdent its block. More info.
| } | ||
| want := "Moo!" | ||
| if want != strings.TrimSpace(string(response.Body)) { | ||
| return fmt.Errorf("The response '%s' is not equal to expected response '%s'.", string(response.Body), want) |
There was a problem hiding this comment.
Golint errors: error strings should not be capitalized or end with punctuation or a newline. More info.
| fmt.Fprintf(w, "cannot convert %s to int", memoryInMB) | ||
| w.WriteHeader(http.StatusBadRequest) | ||
| return | ||
| } else { |
There was a problem hiding this comment.
Golint indent: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary). More info.
6abeb8b to
e49bfba
Compare
|
/test pull-knative-serving-unit-tests |
|
Let's see if it sticks... /test pull-knative-serving-unit-tests |
|
Wrong one to retry 😭 /test pull-knative-serving-integration-tests |
Not bad :) |
|
@bbrowning Since you were familiar with this, would you mind reviewing my additional changes? |
|
/lint |
knative-prow-robot
left a comment
There was a problem hiding this comment.
@mattmoor: 2 warnings.
Details
In response to this:
/lint
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.
| } | ||
|
|
||
| if !equality.Semantic.DeepEqual(c.Resources, want) { | ||
| return false, fmt.Errorf("invalid resource configuration for pod %v. Want: %+v, got: %+v.", pod.Name, want, c.Resources) |
There was a problem hiding this comment.
Golint errors: error strings should not be capitalized or end with punctuation or a newline. More info.
| return err | ||
| } | ||
| if want != strings.TrimSpace(string(response.Body)) { | ||
| return fmt.Errorf("the response '%s' is not equal to expected response '%s'.", string(response.Body), want) |
There was a problem hiding this comment.
Golint errors: error strings should not be capitalized or end with punctuation or a newline. More info.
e20b409 to
04d8527
Compare
|
/lint |
knative-prow-robot
left a comment
There was a problem hiding this comment.
@mattmoor: 0 warnings.
Details
In response to this:
/lint
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.
04d8527 to
46e7814
Compare
46e7814 to
a419b00
Compare
|
One more time for good measure: /test pull-knative-serving-integration-tests |
|
Ahh nice - so it was easy to fix this test by just filling out the entire array when bloating memory instead of just first/last elements. /lgtm |
|
@bbrowning yeah, I had to add a |
|
I'm going to override branch protections to merge this. @jszroberto signed the CLA and provided the base PR, this just addresses test/lint issues. |
This is me trying to fixup and finish #2117