diff --git a/rollout/trafficrouting/istio/istio_test.go b/rollout/trafficrouting/istio/istio_test.go index 498efff81e..3cf911915f 100644 --- a/rollout/trafficrouting/istio/istio_test.go +++ b/rollout/trafficrouting/istio/istio_test.go @@ -724,6 +724,7 @@ func TestHttpReconcileMultipleDestRule(t *testing.T) { ro := rolloutWithDestinationRule() ro.Spec.Strategy.Canary.TrafficRouting.Istio.VirtualService.Name = "vsvc" ro.Spec.Strategy.Canary.TrafficRouting.Istio.VirtualService.Routes = nil + dRule1 := unstructuredutil.StrToUnstructuredUnsafe(` apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule