Drop the hardcoded cluster.local
Experimenting with Eventing's e2e and a non-standard cluster suffix, I noticed that this test failed.
Once my change to support KinD for Eventing e2e lands, we can make that pseudo-randomize this to prevent bugs like this in the future.
@@ -91,7 +91,7 @@ func TestTriggerDependencyAnnotation(t *testing.T) {
if brokerClass == eventing.MTChannelBrokerClassValue {
pingSource.Spec.SourceSpec.Sink.URI = &apis.URL{
Scheme: "http",
- Host: fmt.Sprintf("broker-ingress.%s.svc.cluster.local", resources.SystemNamespace),
+ Host: fmt.Sprintf("broker-ingress.%s.svc", resources.SystemNamespace),
Path: fmt.Sprintf("/%s/%s", client.Namespace, defaultBrokerName),
}
}
