Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for runSimulationTest (0.17 sec)

  1. pilot/pkg/networking/core/serviceentry_simulation_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			proxy := &model.Proxy{
    				Labels:   map[string]string{"app": "foo"},
    				Metadata: &model.NodeMetadata{Labels: map[string]string{"app": "foo"}},
    			}
    			runSimulationTest(t, proxy, xds.FakeOptions{}, simulationTest{
    				name:   tt.name,
    				config: tt.config,
    				calls:  tt.calls,
    			})
    		})
    	}
    }
    
    const serviceEntriesWithDuplicatedHosts = `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:06 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/sidecar_simulation_test.go

    apiVersion: v1
    kind: Service
    metadata:
      name: concrete
      namespace: default
    spec:
      clusterIP: 1.2.3.4
      ports:` + ports
    	runSimulationTest(t, nil, xds.FakeOptions{}, simulationTest{
    		kubeConfig: service,
    		calls:      calls,
    	})
    
    	// HTTP Routes
    	runSimulationTest(t, nil, xds.FakeOptions{}, simulationTest{
    		config: `apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/peer_authentication_simulation_test.go

    			},
    		},
    	}
    	proxy := &model.Proxy{
    		Labels:   map[string]string{"app": "foo"},
    		Metadata: &model.NodeMetadata{Labels: map[string]string{"app": "foo"}},
    	}
    	for _, tt := range cases {
    		runSimulationTest(t, proxy, xds.FakeOptions{}, simulationTest{
    			name:   tt.name,
    			config: tt.config,
    			calls:  tt.calls,
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/gateway_simulation_test.go

    			Metadata: &model.NodeMetadata{
    				Labels:    map[string]string{"istio": "ingressgateway"},
    				Namespace: "istio-system",
    			},
    			Type: model.Router,
    		}
    		runSimulationTest(t, proxy, xds.FakeOptions{}, tt)
    	}
    }
    
    func runSimulationTest(t *testing.T, proxy *model.Proxy, o xds.FakeOptions, tt simulationTest) {
    	runTest := func(t *testing.T) {
    		o.ConfigString = tt.config
    		o.KubernetesObjectString = tt.kubeConfig
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 18:27:40 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top