Migrate inmemorychannel to use v2 cloudevents bindings#2813
Conversation
|
/assign |
|
This might help you: cloudevents/sdk-go#418 |
Thanks for the pointer! |
|
this is ready for review ptal @slinkydeveloper |
|
Cool! Now let's see if tests like it |
|
not sure why the unit tests failed, they pass locally on my env, will wait for integration tests to see if those pass or fail. |
|
Looks like integration tests failed as well. Will debug and ping back once I have them passing. |
| logger *zap.Logger | ||
| type InMemoryMessageDispatcher struct { | ||
| handler *swappable.MessageHandler | ||
| httpBindingsReceiver *kncloudevents.HttpMessageReceiver |
|
try locally with |
6cf3b0f to
f5f975a
Compare
|
Looks like the integration tests are not liking the new inmemorychannel message_dispatcher. I tried to debug but could not find anything off (particularly from comparing my changes vs the ones in channel/message_receiver.go vs channel/event_receiver.go that jumps out as the cause of the issues. Error logs point to the inmemyrchannel-controller being unable to properly create triggers. wrt unit tests I dont know why they are failing either, the strangest bit is the test result does not match what I get in my local dev env. I also tried running tests with --race but did not get any different results locally. |
|
I'm trying to run the tests by myself today and check if i can find the problem hidden somewhere |
|
This should finally fix the tracing :) #2917 |
|
This should be ready to go once #2917 is in |
|
/reopen |
|
@slinkydeveloper: Reopened this PR. DetailsIn response to this:
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. |
|
#2917 done! |
|
The following is the coverage report on the affected files.
|
|
@nlopezgi: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/unhold |
|
This is now ready for review @n3wscott @slinkydeveloper integration tests and unit tests are all passing. |
|
@nlopezgi you need to cover a little bit more |
slinkydeveloper
left a comment
There was a problem hiding this comment.
/lgtm let's get this in
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: n3wscott, nlopezgi, slinkydeveloper 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 |
Signed-off-by: Nicolas Lopez ngiraldo@google.com
Fixes #2664
Proposed Changes
ptal @slinkydeveloper