Skip to content

[QE] Allow to change the Eventing upgrate tests SUT (system under test) #5215

@cardil

Description

@cardil

Problem
Eventing upgrade tests use static SUT (system under test) - a default broker with trigger.

p.deployBroker()
p.deployConfigMap()
p.deployTriggers()

In different cases it's actually required to replace that with different configuration of eventing bits we'd to test. One of such example would be knative-extensions/eventing-kafka#67 - instead of deploying broker+trigger, lets deploy KafkaSource, KafkaTopic, KafkaUser, and feed events to KafkaChannel, and create Subscription that would route events to receiver. Many such configurations can be thought of.

Persona:
Developer

Exit Criteria
I can easily replace

p.deployBroker()
p.deployConfigMap()
p.deployTriggers()
with KafkaSource that pushes events to receiver. Or any other source we'd to test upgrades for.

Time Estimate (optional):
2d

Metadata

Metadata

Assignees

Labels

area/test-and-releaseTest infrastructure, tests or releasekind/feature-requestpriority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions