Skip to content

Another attempt at flaky route test#8406

Merged
knative-prow-robot merged 1 commit into
knative:masterfrom
vagababov:20200622-fix-test-again
Jun 23, 2020
Merged

Another attempt at flaky route test#8406
knative-prow-robot merged 1 commit into
knative:masterfrom
vagababov:20200622-fix-test-again

Conversation

@vagababov
Copy link
Copy Markdown
Contributor

Fixes #8056
Make sure to clone the object before modifying. Otherwise the update below generates a noop.
And if global resync already finished (i.e race with CM update), then the test will fail.
This happens since we jitter in the global resync code and if random returns 0 (or another small number), the test fails.
Hence very rare occurrence of flakes.

/assign @dprotaso @tcnghia mattmoor

Fixes knative#8056
Make sure to clone the object before modifying.
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 22, 2020
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 22, 2020
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vagababov

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

@knative-prow-robot knative-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. area/API API objects and controllers area/networking labels Jun 22, 2020
@tcnghia
Copy link
Copy Markdown
Contributor

tcnghia commented Jun 22, 2020

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 22, 2020
@knative-prow-robot knative-prow-robot merged commit 664a3a8 into knative:master Jun 23, 2020
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. area/API API objects and controllers area/networking cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[flaky] pkg/reconciler/route.TestUpdateDomainConfigMap/example.com

6 participants