Skip to content

Add e2e test for KafkaChannel#1320

Merged
knative-prow-robot merged 50 commits into
knative:masterfrom
chizhg:AddE2ETestForKafkaCRDChannel
Jun 5, 2019
Merged

Add e2e test for KafkaChannel#1320
knative-prow-robot merged 50 commits into
knative:masterfrom
chizhg:AddE2ETestForKafkaCRDChannel

Conversation

@chizhg
Copy link
Copy Markdown
Contributor

@chizhg chizhg commented Jun 2, 2019

Fixes #1317

Proposed Changes

  • Make changes to support e2e testing for CRD channels
  • Add e2e test for KafkaChannel

Release Note

NONE

@knative-prow-robot knative-prow-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jun 2, 2019
@knative-prow-robot knative-prow-robot added the area/test-and-release Test infrastructure, tests or release label Jun 2, 2019
@chizhg
Copy link
Copy Markdown
Contributor Author

chizhg commented Jun 2, 2019

/uncc @matzew
/uncc @srinivashegde86

Comment thread test/base/constants.go Outdated
Comment thread test/base/constants.go Outdated
Comment thread test/base/constants.go Outdated
Comment thread test/base/resource_checks.go
Comment thread test/base/resources.go
Comment thread test/common/client.go Outdated
Comment thread test/common/config.go
Comment thread test/common/creation.go
Comment thread test/common/creation.go Outdated
Comment thread test/common/operation.go
Comment thread test/e2e/test_runner.go Outdated
Comment thread test/e2e/test_runner.go Outdated
Comment thread test/e2e/test_runner.go Outdated
@nachocano
Copy link
Copy Markdown
Contributor

/lgtm

there are places when we use provisioner and should be operator. For example, when getting a value from the OperatorMap, etc... I think the renaming can be done in follow ups...
Would be happy to have this in asap, so that we can see that we are not messing up with the kafka CRD impl

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

Thanks for doing this @Fredy-Z.
Can you ask @grantr or @Harwayne to take a look, as they have the approve power?

@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Fredy-Z, grantr

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 5, 2019
@knative-prow-robot knative-prow-robot merged commit 7434f09 into knative:master Jun 5, 2019
@matzew
Copy link
Copy Markdown
Member

matzew commented Jun 6, 2019

/lgtm

@chizhg chizhg deleted the AddE2ETestForKafkaCRDChannel branch June 6, 2019 21:14
matzew pushed a commit to matzew/eventing that referenced this pull request Jun 28, 2021
* [0.23] Backport of PRs 4815 5321 5444

[0.23] Backport of PRs 4815 5321 5444 (from knative#1309)

* Backport of (knative#4815)

Extension point for transport used to send events in upgrade tests

* EventSender interface to enable customisation of sending events
* Clean ups
* Basic extendability of wathola sender
* Updating boilerplate
* Testing sender services
* Allow of customization of wathola test images on downstream
* Waiting until test port is open
* Switch to v2 of pelletier/toml to support reading string/map[string]interface{} for interface{} typed field.
* LogLevel is settable
* Logging received event
* Changes after review

* Backport of (knative#5321)

Allow to change SUT for upgrade tests

* Introduction of SUT package
* Refactor to keep used interfaces and deprecate them first
* Update-codegen
* Restoring configuration options, to have Deprecated status instead
* Working e2e test
* Fixing NPE in upgrade tests
* Introducing new interfaces for configuration and easy execution
* NPE fix in continual.go@55
* Removal of ensure.NoError
* Raising UnavailablePeriodToReport to 10s to make tests more stable
* Running all e2e tagged tests
* Raising unavailibility period to 60s as load & retries makes it longer.
* Execute upgrade e2e tests with additional run
* Using SutURL in wathola config instead of BrokerURL
* Removal of redundant namespace option
* Switch to using interface{} as endpoint address representation
* Fixing compile error on prober
* Use full event type only
* Remove unused event prefix
* Renaming after code review
* Removal of unnecessary github.com/prometheus/common
* Remove Kafka from README and SUT to graph
* Remove unused EventsTypePrefix option
* Remove execution of TestBrokerAndTriggers helper test

* Backport of (knative#5444)

* Don't wait on triggers, before deploying their subscriber
* Restore manually modified vendor dir

* Revert "Update deps"
matzew added a commit to matzew/eventing that referenced this pull request May 5, 2025
Co-authored-by: yatesliang <yates.lyc@gmail.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. area/test-and-release Test infrastructure, tests or release cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add E2E test to Kafka Channel CRD

7 participants