Skip to content

Fix race conditions in TestTriggerAnnotateUserInfo#1246

Merged
knative-prow-robot merged 1 commit into
knative:masterfrom
Harwayne:trigger-flaky
May 16, 2019
Merged

Fix race conditions in TestTriggerAnnotateUserInfo#1246
knative-prow-robot merged 1 commit into
knative:masterfrom
Harwayne:trigger-flaky

Conversation

@Harwayne
Copy link
Copy Markdown
Contributor

@Harwayne Harwayne commented May 16, 2019

Proposed Changes

Earlier race problems could be seen with go test ./pkg/apis/eventing/v1alpha1 -run TestTriggerAnnotateUserInfo -race -count 10

Release Note

NONE

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label May 16, 2019
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 16, 2019
@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 16, 2019
@knative-prow-robot knative-prow-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 16, 2019
@Harwayne Harwayne changed the title Remove t.Parallel() to remove the unit test race condition. Fix race conditions in TestTriggerAnnotateUserInfo May 16, 2019
@knative-metrics-robot
Copy link
Copy Markdown

The following is the coverage report on pkg/.
Say /test pull-knative-eventing-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/apis/eventing/v1alpha1/trigger_lifecycle.go Do not exist 41.2%

Copy link
Copy Markdown
Member

@evankanderson evankanderson 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

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label May 16, 2019
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: evankanderson, Harwayne

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:
  • OWNERS [Harwayne,evankanderson]

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 merged commit 23bf2e9 into knative:master May 16, 2019
@Harwayne Harwayne deleted the trigger-flaky branch July 29, 2019 17:04
matzew added a commit to matzew/eventing that referenced this pull request May 7, 2021
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
creydr added a commit to creydr/knative-eventing that referenced this pull request Apr 25, 2025
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
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. cla: yes Indicates the PR's author has signed the CLA. 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.

5 participants