-
Notifications
You must be signed in to change notification settings - Fork 587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expanded the Channel data plane conformance test #3394
Expanded the Channel data plane conformance test #3394
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Produced via:
gofmt -s -w $(find -path './vendor' -prune -o -path './third_party' -prune -o -type f -name '*.go' -print)
goimports -w $(find -name '*.go' | grep -v vendor | grep -v third_party | grep -v wire_gen.go)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Produced via:
gofmt -s -w $(find -path './vendor' -prune -o -path './third_party' -prune -o -type f -name '*.go' -print)
goimports -w $(find -name '*.go' | grep -v vendor | grep -v third_party | grep -v wire_gen.go)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Produced via:
gofmt -s -w $(find -path './vendor' -prune -o -path './third_party' -prune -o -type f -name '*.go' -print)
goimports -w $(find -name '*.go' | grep -v vendor | grep -v third_party | grep -v wire_gen.go)
for k := range event.Extensions() { | ||
extKeys = append(extKeys, k) | ||
} | ||
extKeys = append(extKeys, eventingchannel.EventHistory) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Produced via:
gofmt -s -w $(find -path './vendor' -prune -o -path './third_party' -prune -o -type f -name '*.go' -print)
goimports -w $(find -name '*.go' | grep -v vendor | grep -v third_party | grep -v wire_gen.go)
…equality of the received event Signed-off-by: Francesco Guardiani <[email protected]>
Signed-off-by: Francesco Guardiani <[email protected]>
Signed-off-by: Francesco Guardiani <[email protected]>
Signed-off-by: Francesco Guardiani <[email protected]>
Signed-off-by: Francesco Guardiani <[email protected]>
Signed-off-by: Francesco Guardiani <[email protected]>
cad09f0
to
5386166
Compare
/retest |
Signed-off-by: Francesco Guardiani <[email protected]>
Signed-off-by: Francesco Guardiani <[email protected]>
/retest |
Signed-off-by: Francesco Guardiani <[email protected]>
Signed-off-by: Francesco Guardiani <[email protected]>
uhm on my machine it passes, not on CI |
Signed-off-by: Francesco Guardiani <[email protected]>
The following jobs failed:
Failed non-flaky tests preventing automatic retry of pull-knative-eventing-integration-tests:
|
Signed-off-by: Francesco Guardiani <[email protected]>
The following is the coverage report on the affected files.
|
/check-cla |
@googlebot rescan |
It works! |
@@ -136,7 +139,7 @@ func ParallelTestHelper(t *testing.T, | |||
// verify the logger service receives the correct transformed event | |||
eventTracker.AssertExact(1, recordevents.MatchEvent( | |||
HasSource(eventSource), | |||
recordevents.DataContains(tc.expected), | |||
DataContains(tc.expected), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not your doing, but I'm curious about the conformance test having an exactly once delivery semantics.
@@ -4,7 +4,7 @@ go 1.14 | |||
|
|||
require ( | |||
contrib.go.opencensus.io/exporter/stackdriver v0.13.1 // indirect | |||
github.com/cloudevents/sdk-go/v2 v2.0.1-0.20200608152019-2ab697c8fc0b | |||
github.com/cloudevents/sdk-go/v2 v2.0.1-0.20200625144206-4e4657232c9e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this include the 538 fix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checked and it does :) Thanks!
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: slinkydeveloper, vaikas The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Expanded the channel_message_modes_specversion_helper.go to test the equality of the received event Signed-off-by: Francesco Guardiani <[email protected]> * Linter thing Signed-off-by: Francesco Guardiani <[email protected]> * Fixed types in extensions Signed-off-by: Francesco Guardiani <[email protected]> * Temporary check Signed-off-by: Francesco Guardiani <[email protected]> * Matchers Signed-off-by: Francesco Guardiani <[email protected]> * Removed the wrong time defaulting Signed-off-by: Francesco Guardiani <[email protected]> * Removed time now Signed-off-by: Francesco Guardiani <[email protected]> * Removed time now Signed-off-by: Francesco Guardiani <[email protected]> * Print error stacktrace Signed-off-by: Francesco Guardiani <[email protected]> * More stacktrace print Signed-off-by: Francesco Guardiani <[email protected]> * Updated sdk-go to latest master Signed-off-by: Francesco Guardiani <[email protected]> * Now filterevents is happy Signed-off-by: Francesco Guardiani <[email protected]>
Signed-off-by: Francesco Guardiani [email protected]
Part of #1845
Proposed Changes
Let's wait cloudevents/sdk-go#538 first.