Skip to content

Commit

Permalink
We changed the event type on the images (#8364)
Browse files Browse the repository at this point in the history
🔥 We changed the event type on the images

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
  • Loading branch information
matzew authored Dec 2, 2024
1 parent f577063 commit 408db83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/rekt/features/integrationsource/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func SendsEventsWithSinkRef() *feature.Feature {

f.Stable("integrationsource as event source").
Must("delivers events",
assert.OnStore(sink).MatchEvent(test.HasType("dev.knative.connector.event.timer")).AtLeast(1))
assert.OnStore(sink).MatchEvent(test.HasType("dev.knative.eventing.timer")).AtLeast(1))

return f
}
Expand All @@ -72,7 +72,7 @@ func SendEventsWithTLSRecieverAsSink() *feature.Feature {
Must("delivers events",
assert.OnStore(sink).
Match(assert.MatchKind(eventshub.EventReceived)).
MatchEvent(test.HasType("dev.knative.connector.event.timer")).
MatchEvent(test.HasType("dev.knative.eventing.timer")).
AtLeast(1),
).
Must("Set sinkURI to HTTPS endpoint", source.ExpectHTTPSSink(integrationsource.Gvr(), src)).
Expand Down Expand Up @@ -108,7 +108,7 @@ func SendEventsWithTLSRecieverAsSinkTrustBundle() *feature.Feature {
Must("delivers events",
assert.OnStore(sink).
Match(assert.MatchKind(eventshub.EventReceived)).
MatchEvent(test.HasType("dev.knative.connector.event.timer")).
MatchEvent(test.HasType("dev.knative.eventing.timer")).
AtLeast(1),
).
Must("Set sinkURI to HTTPS endpoint", source.ExpectHTTPSSink(integrationsource.Gvr(), src))
Expand Down
2 changes: 1 addition & 1 deletion test/rekt/features/integrationsource/oidc_feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func SendsEventsWithSinkRefOIDC() *feature.Feature {

f.Stable("integrationsource as event source").
Must("delivers events",
assert.OnStore(sink).MatchEvent(test.HasType("dev.knative.connector.event.timer")).AtLeast(1)).
assert.OnStore(sink).MatchEvent(test.HasType("dev.knative.eventing.timer")).AtLeast(1)).
Must("uses integrationsources identity for OIDC", assert.OnStore(sink).MatchWithContext(
assert.MatchKind(eventshub.EventReceived).WithContext(),
assert.MatchOIDCUserFromResource(integrationsource.Gvr(), src)).AtLeast(1)).
Expand Down

0 comments on commit 408db83

Please sign in to comment.