Skip to content
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

[TEST ONLY] Test EventType auto-create for KafkaChannel #4074

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mgencur
Copy link
Contributor

@mgencur mgencur commented Aug 20, 2024

Proposed Changes

Add tests for the following:

  • EventType auto-create for KafkaChannel on replies to subscriptions

Release Note


Docs

@knative-prow knative-prow bot requested review from Leo6Leo and matzew August 20, 2024 08:34
@knative-prow knative-prow bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. area/test labels Aug 20, 2024
Copy link

knative-prow bot commented Aug 20, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mgencur
Once this PR has been reviewed and has the lgtm label, please assign dprotaso for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

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

Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.55%. Comparing base (4cf38f1) to head (0144375).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4074   +/-   ##
=======================================
  Coverage   48.55%   48.55%           
=======================================
  Files         244      244           
  Lines       14825    14825           
=======================================
  Hits         7199     7199           
  Misses       6912     6912           
  Partials      714      714           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -255,6 +255,26 @@ func TestBrokerEventTypeAutoCreate(t *testing.T) {
env.Test(ctx, t, eventtype_autocreate.AutoCreateEventTypesOnBroker(brokerName))
}

func TestMTChannelBasedBrokerEventTypeAutoCreate(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for creating a test here, @mgencur

@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 27, 2024
@knative-prow-robot knative-prow-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 10, 2024
@mgencur
Copy link
Contributor Author

mgencur commented Sep 10, 2024

Testing again. The tests should pass after merging #4077

@mgencur mgencur changed the title [TEST ONLY] Test EventType auto-create for MTChannelBasedBroker with KafkaChannel [TEST ONLY] Test EventType auto-create for MTChannelBasedBroker and KafkaChannel Sep 10, 2024
@mgencur mgencur changed the title [TEST ONLY] Test EventType auto-create for MTChannelBasedBroker and KafkaChannel [TEST ONLY] Test EventType auto-create for KafkaChannel Sep 10, 2024
Copy link

knative-prow bot commented Sep 10, 2024

@mgencur: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
upgrade-tests_eventing-kafka-broker_main 0144375 link true /test upgrade-tests
channel-reconciler-tests-ssl_eventing-kafka-broker_main 0144375 link true /test channel-reconciler-tests-ssl
channel-reconciler-tests-sasl-ssl_eventing-kafka-broker_main 0144375 link true /test channel-reconciler-tests-sasl-ssl
channel-reconciler-tests-sasl-plain_eventing-kafka-broker_main 0144375 link true /test channel-reconciler-tests-sasl-plain
reconciler-tests_eventing-kafka-broker_main 0144375 link true /test reconciler-tests
reconciler-tests-namespaced-broker_eventing-kafka-broker_main 0144375 link true /test reconciler-tests-namespaced-broker

Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test 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.

3 participants