Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mgencur committed Sep 10, 2024
1 parent c82d119 commit 0144375
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e_new/broker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
"knative.dev/eventing-kafka-broker/control-plane/pkg/kafka"
"knative.dev/eventing-kafka-broker/test/e2e_new/single_partition_config"
"knative.dev/eventing-kafka-broker/test/rekt/features"
"knative.dev/eventing/pkg/apis/eventing"
"knative.dev/eventing/test/rekt/features/authz"
"knative.dev/eventing/test/rekt/features/broker"
brokereventingfeatures "knative.dev/eventing/test/rekt/features/broker"
Expand Down Expand Up @@ -288,7 +289,9 @@ func TestMTChannelBasedBrokerEventTypeAutoCreate(t *testing.T) {
env.Prerequisite(ctx, t, features.BrokerCreateConfigMap(configName))

brokerName := feature.MakeRandomK8sName("broker")
env.Prerequisite(ctx, t, broker.GoesReady(brokerName, brokerresources.WithConfig(configName)))
env.Prerequisite(ctx, t, broker.GoesReady(brokerName,
brokerresources.WithConfig(configName),
brokerresources.WithBrokerClass(eventing.MTChannelBrokerClassValue)))

env.Test(ctx, t, eventtype_autocreate.AutoCreateEventTypesOnBroker(brokerName))
}
Expand Down

0 comments on commit 0144375

Please sign in to comment.