Skip to content

deep copy domain.Config object before returning it#1701

Closed
cppforlife wants to merge 1 commit intoknative:masterfrom
cppforlife:issue_1680_1
Closed

deep copy domain.Config object before returning it#1701
cppforlife wants to merge 1 commit intoknative:masterfrom
cppforlife:issue_1680_1

Conversation

@cppforlife
Copy link
Copy Markdown
Contributor

One more fix for #1680

@google-prow-robot google-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 25, 2018
@cppforlife
Copy link
Copy Markdown
Contributor Author

@mattmoor any idea if pull-knative-serving-integration-tests flaked or legit failure?

@adrcunha
Copy link
Copy Markdown
Contributor

adrcunha commented Jul 25, 2018

The integration tests timed out. They're taking more than 10 minutes to run.

google-prow-robot pushed a commit that referenced this pull request Jul 25, 2018
Currently 10 minutes may not be enough, for example as in #1701.
@adrcunha
Copy link
Copy Markdown
Contributor

/retest

@glyn
Copy link
Copy Markdown
Contributor

glyn commented Jul 26, 2018

/lgtm

@google-prow-robot google-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 26, 2018
@glyn
Copy link
Copy Markdown
Contributor

glyn commented Jul 26, 2018

Nice work @cppforlife! I wonder where else this antipattern occurs? ;-)

@glyn
Copy link
Copy Markdown
Contributor

glyn commented Jul 27, 2018

/assign @adrcunha @tcnghia

@glyn
Copy link
Copy Markdown
Contributor

glyn commented Jul 27, 2018

This fix is not necessary. See #1680 (comment).

/close

@glyn
Copy link
Copy Markdown
Contributor

glyn commented Jul 27, 2018

After discussion with @cppforlife and @Zteve, it seems best to be defensive. Re-opening.
/reopen

@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/controller/route/route.go 96.6% 96.5% -0.0

Copy link
Copy Markdown
Member

@mattmoor mattmoor left a comment

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
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cppforlife, 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 27, 2018
@google-prow-robot
Copy link
Copy Markdown

google-prow-robot commented Jul 27, 2018

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

Test name Commit Details Rerun command
pull-knative-serving-unit-tests 10246d5 link /test pull-knative-serving-unit-tests

Full PR test history. Your PR dashboard.

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.

ZhiminXiang pushed a commit to ZhiminXiang/serving-1 that referenced this pull request Aug 2, 2018
Currently 10 minutes may not be enough, for example as in knative#1701.
@glyn
Copy link
Copy Markdown
Contributor

glyn commented Aug 6, 2018

@cppforlife any chance of fixing the conflicts so we can get this in?

adrcunha added a commit that referenced this pull request Oct 11, 2018
Currently 10 minutes may not be enough, for example as in #1701.

Backport of #1702.
knative-prow-robot pushed a commit that referenced this pull request Oct 11, 2018
…2208)

* Fix SSH keys workaround for kubetest

Create the ~/.ssh dir if it doesn't exist, don't assume it always exist.

Backported from knative/test-infra#151

* Fix authentication for test clusters

Instead of relying on default options, use basic authentication for test cluster.

Also make acquire_cluster_admin_role() handle auth through certificates, since it's used also on deployment.

Backport of knative/test-infra#115

* Increase E2E tests timeout to 20 minutes

Currently 10 minutes may not be enough, for example as in #1701.

Backport of #1702.

* Drop Dockerfile in test images

* removed dockerfiles
* moved test images to the same location
* adjust repo
* fix command and docs
* update upload-test-images.sh
* preserve import paths
* fix appYaml path
* preserve path in upload-test-images.sh

Backport of #1792.
@mattmoor
Copy link
Copy Markdown
Member

I believe this is replaced by the work @dprotaso did with the config store.

@mattmoor mattmoor closed this Oct 23, 2018
@glyn
Copy link
Copy Markdown
Contributor

glyn commented Oct 23, 2018

Also #1680 wasn't valid after all.

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.

7 participants