Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestJn (0.14 sec)

  1. pkg/controller/history/controller_history_test.go

    		},
    	}
    	for i := range tests {
    		testFn(&tests[i], t)
    	}
    }
    
    func TestFakeHistory_ListControllerRevisions(t *testing.T) {
    	type testcase struct {
    		name      string
    		parent    metav1.Object
    		selector  labels.Selector
    		revisions []*apps.ControllerRevision
    		want      map[string]bool
    	}
    	testFn := func(test *testcase, t *testing.T) {
    		client := fake.NewSimpleClientset()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/httproute_test.go

    			},
    		},
    	}
    
    	testFn := func(t test.Failer, service *model.Service, port int, node *model.Proxy, want []string) {
    		out, _ := generateVirtualHostDomains(service, port, port, node)
    		assert.Equal(t, out, want)
    	}
    
    	for _, c := range cases {
    		c := c
    		t.Run(c.name, func(t *testing.T) {
    			test.SetForTest[bool](t, &features.EnableDualStack, c.enableDualStack)
    			testFn(t, c.service, c.port, c.node, c.want)
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  3. pilot/pkg/model/virtualservice_test.go

    		Gateways: []string{"mesh"},
    		Http: []*networking.HTTPRoute{
    			{
    				Route: []*networking.HTTPRouteDestination{
    					{
    						Destination: &networking.Destination{
    							Host: "test-svc.testn.svc.cluster.local",
    						},
    						Weight: 100,
    					},
    				},
    			},
    		},
    	}
    	virtualServiceSpec6 := &networking.VirtualService{
    		Hosts:    []string{"match-no-service"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
Back to top