eventing
eventing copied to clipboard
Add rekt test for ApiServerSource event type autocreate
Problem Create a REKT test to the experimental folder that will verify automatic EventType creation for ApiServerSource.
Persona: Which persona is this feature for?
Exit Criteria
E2E test which verifies that EventType is properly created when ApiServerSource is created. The EventType's spec.type
should correspond to types of events defined in constants
Time Estimate (optional): How many developer-days do you think this may take to resolve? 1-2
Additional context (optional)
I feel like this might already be covered by SendsEventsWithEventTypes which is called from TestApiServerSourceDataPlane_SinkTypes We need to check why this test is passing even without enabling the auto-create feature.
I think the test is passing because Sources are able to automatically create the EventType even without enabling the experimental auto-create feature.
@mgencur yes, see here for a future plan https://github.com/knative/eventing/issues/7258#issuecomment-1907591397
This is already covered. As mentioned in the comments.