Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 89 for expectedIds (0.22 sec)

  1. pilot/pkg/networking/core/extension/wasmplugin_test.go

    	})
    	testCases := []struct {
    		name        string
    		wasmPlugins []*model.WasmPluginWrapper
    		names       []string
    		expectedECs []*core.TypedExtensionConfig
    	}{
    		{
    			name:        "empty",
    			wasmPlugins: []*model.WasmPluginWrapper{},
    			names:       []string{someAuthNFilter.Name},
    			expectedECs: []*core.TypedExtensionConfig{},
    		},
    		{
    			name: "authn",
    			wasmPlugins: []*model.WasmPluginWrapper{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/dump_test.go

    			compareGraphs(test.expectNodes, actualNodes, test.expectEdges, actualEdges, t)
    		})
    	}
    }
    
    func TestToDOTGraphObj(t *testing.T) {
    	tests := []struct {
    		name        string
    		uidToNode   map[types.UID]*node
    		uids        []types.UID
    		expectNodes []*dotVertex
    		expectEdges []dotEdge
    	}{
    		{
    			name: "simple",
    			uidToNode: map[types.UID]*node{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. pkg/kubelet/pod/pod_manager_test.go

    	// Tests that all regular pods are recorded correctly.
    	actualPods := podManager.GetPods()
    	if len(actualPods) != len(expectedPods) {
    		t.Errorf("expected %d pods, got %d pods; expected pods %#v, got pods %#v", len(expectedPods), len(actualPods),
    			expectedPods, actualPods)
    	}
    	for _, expected := range expectedPods {
    		found := false
    		for _, actual := range actualPods {
    			if actual.UID == expected.UID {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 16:57:27 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. tests/integration/security/util/secret/secret.go

    const IstioDNSSecretType = "istio.io/dns-key-and-cert"
    
    // ExamineDNSSecretOrFail calls ExamineDNSSecret and fails t if an error occurs.
    func ExamineDNSSecretOrFail(t test.Failer, secret *v1.Secret, expectedID string) {
    	t.Helper()
    	if err := ExamineDNSSecret(secret, expectedID); err != nil {
    		t.Fatal(err)
    	}
    }
    
    // ExamineDNSSecret examines the content of a secret containing DNS secret to make sure that
    // * Secret type is correctly set;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 22 04:04:14 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. cmd/object-api-putobject_test.go

    			expectedError: hash.BadDigest{ExpectedMD5: invalidMD5, CalculatedMD5: getMD5Hash(nilBytes)},
    		},
    		25: {
    			bucketName: bucket, objName: object, inputData: fiveMBBytes, inputMeta: invalidMD5Header, inputDataSize: int64(len(fiveMBBytes)), expectedMd5: getMD5Hash(fiveMBBytes),
    			expectedError: hash.BadDigest{ExpectedMD5: invalidMD5, CalculatedMD5: getMD5Hash(fiveMBBytes)},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/node/graph_test.go

    			// (the slices we get back are from map iteration, where order is not guaranteed)
    			expectEdges := c.expect.graph.Edges()
    			sort.Slice(expectEdges, func(i, j int) bool {
    				if expectEdges[i].From().ID() == expectEdges[j].From().ID() {
    					return expectEdges[i].To().ID() < expectEdges[j].To().ID()
    				}
    				return expectEdges[i].From().ID() < expectEdges[j].From().ID()
    			})
    			startEdges := c.start.graph.Edges()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  7. pkg/apis/policy/validation/validation_test.go

    		expectErrForVersion: map[schema.GroupVersion]bool{
    			policy.SchemeGroupVersion:        expectNoErrors,
    			policyv1beta1.SchemeGroupVersion: expectNoErrors,
    		},
    	}, {
    		name: "ExpectedPods: 2",
    		pdbStatus: policy.PodDisruptionBudgetStatus{
    			ExpectedPods: 2,
    		},
    		expectErrForVersion: map[schema.GroupVersion]bool{
    			policy.SchemeGroupVersion:        expectNoErrors,
    			policyv1beta1.SchemeGroupVersion: expectNoErrors,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. internal/hash/errors.go

    }
    
    // BadDigest - Content-MD5 you specified did not match what we received.
    type BadDigest struct {
    	ExpectedMD5   string
    	CalculatedMD5 string
    }
    
    func (e BadDigest) Error() string {
    	return "Bad digest: Expected " + e.ExpectedMD5 + " does not match calculated " + e.CalculatedMD5
    }
    
    // SizeTooSmall reader size too small
    type SizeTooSmall struct {
    	Want int64
    	Got  int64
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 15 21:08:54 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/controller/repairip_test.go

    }
    
    func TestRepairServiceIP(t *testing.T) {
    	tests := []struct {
    		name        string
    		svcs        []*v1.Service
    		ipAddresses []*networkingv1alpha1.IPAddress
    		cidrs       []*networkingv1alpha1.ServiceCIDR
    		expectedIPs []string
    		actions     [][]string // verb and resource
    		events      []string
    	}{
    		{
    			name: "no changes needed single stack",
    			svcs: []*v1.Service{newService("test-svc", []string{"10.0.1.1"})},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. src/cmd/internal/buildid/buildid_test.go

    		}
    		defer os.Remove(f)
    		id, err := ReadFile(f)
    		if id != expectedID || err != nil {
    			t.Errorf("ReadFile(testdata/%s) = %q, %v, want %q, nil", f, id, err, expectedID)
    		}
    		old := readSize
    		readSize = 2048
    		id, err = ReadFile(f)
    		readSize = old
    		if id != expectedID || err != nil {
    			t.Errorf("ReadFile(%s) [readSize=2k] = %q, %v, want %q, nil", f, id, err, expectedID)
    		}
    
    		data, err := os.ReadFile(f)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top