Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for actualIds (0.16 sec)

  1. security/pkg/pki/util/san_test.go

    		t.Errorf("A unexpected error has been encountered (error: %v)", err)
    	}
    
    	actualIDs, err := ExtractIDsFromSAN(san)
    	if err != nil {
    		t.Errorf("A unexpected error has been encountered (error: %v)", err)
    	}
    
    	if !reflect.DeepEqual(actualIDs, ids) {
    		t.Errorf("Unmatched identities: before encoding: %v, after decoding %v", ids, actualIDs)
    	}
    
    	if !san.Critical {
    		t.Errorf("SAN field is not critical.")
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/conflicts/DefaultCapabilitiesConflictHandlerTest.groovy

                conflict = handler.registerCandidate(
                    candidate(capability, cs)
                )
            }
    
            then:
            def actualIds = []
            conflict.withParticipatingModules {
                actualIds << it
            }
    
            actualIds == expectedIds
        }
    
        CapabilitiesConflictHandler.Candidate candidate(CapabilityInternal cap, ComponentState co) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

         */
        private static Optional<Integer> findFirstCompleteMatch(List<String> expectedLines, List<String> actualLines) {
            for (int actualIdx = 0; actualIdx < actualLines.size(); actualIdx++) {
                if (isMatchingIndex(expectedLines, actualLines, actualIdx)) {
                    return Optional.of(actualIdx);
                }
            }
            return Optional.empty();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/net/smtp/smtp_test.go

    		t.Fatalf("Bad data response: %s", err)
    	}
    
    	if err := c.Quit(); err != nil {
    		t.Fatalf("QUIT failed: %s", err)
    	}
    
    	bcmdbuf.Flush()
    	actualcmds := cmdbuf.String()
    	if client != actualcmds {
    		t.Fatalf("Got:\n%s\nExpected:\n%s", actualcmds, client)
    	}
    }
    
    var basicServer = `250 mx.google.com at your service
    502 Unrecognized command.
    250-mx.google.com at your service
    250-SIZE 35651584
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/PotentialMatch.java

            for (int actualIdx = contextStartActualIdx; actualIdx <= contextEndActualIdx; actualIdx++) {
                int expectedIdx = actualIdx - matchBeginsActualIdx;
    
                String prefix = buildPrefix(expectedIdx, actualIdx, padding);
                context.append(prefix)
                        .append(actualLines.get(actualIdx))
                        .append('\n');
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/api.go

    }
    
    type InboundConnection struct {
    	Src         string `json:"src"`
    	OriginalDst string `json:"originalDst"`
    	ActualDst   string `json:"actualDst"`
    }
    
    type OutboundConnection struct {
    	Src         string `json:"src"`
    	OriginalDst string `json:"originalDst"`
    	ActualDst   string `json:"actualDst"`
    }
    
    type WorkloadConnection struct {
    	Src         string `json:"src"`
    	Dst         string `json:"dst"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/connections.go

    			for _, c := range wl.Connections.Inbound {
    				fmt.Fprintf(w, "%v\tInbound\t%v\t%v\t%v\n", name, lookupIP(c.ActualDst), lookupIP(c.Src), c.OriginalDst)
    			}
    		}
    		if filter.Direction != "inbound" {
    			for _, c := range wl.Connections.Outbound {
    				fmt.Fprintf(w, "%v\tOutbound\t%v\t%v\t%v\n", name, lookupIP(c.Src), lookupIP(c.ActualDst), lookupIP(c.OriginalDst))
    			}
    		}
    	}
    	return w.Flush()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/conversion_test.go

    	}
    
    	if ips[0] != ip {
    		t.Fatalf("service IP incorrect => %q, want %q", ips[0], ip)
    	}
    
    	actualIPs := service.ClusterVIPs.GetAddressesFor(clusterID)
    	expectedIPs := []string{ip}
    	if !reflect.DeepEqual(actualIPs, expectedIPs) {
    		t.Fatalf("service IPs incorrect => %q, want %q", actualIPs, expectedIPs)
    	}
    
    	if !reflect.DeepEqual(service.Attributes.LabelSelectors, localSvc.Spec.Selector) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. internal/config/identity/ldap/ldap.go

    		errRet := fmt.Errorf("Unable to find user DN: %w", err)
    		return nil, nil, errRet
    	}
    
    	// Authenticate the user credentials.
    	err = conn.Bind(lookupResult.ActualDN, password)
    	if err != nil {
    		errRet := fmt.Errorf("LDAP auth failed for DN %s: %w", lookupResult.ActualDN, err)
    		return nil, nil, errRet
    	}
    
    	// Bind to the lookup user account again to perform group search.
    	if err = l.LDAP.LookupBind(conn); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 25 13:43:06 UTC 2024
    - 10.3K bytes
    - Viewed (1)
  10. pkg/controller/disruption/disruption_test.go

    	}
    	ps.VerifyPdbStatus(t, pdbName, 0, 0, 3, 0, map[string]metav1.Time{})
    
    	actualPDB := ps.Get(pdbName)
    	condition := apimeta.FindStatusCondition(actualPDB.Status.Conditions, "ExistingTestCondition")
    	if len(actualPDB.Status.Conditions) != 2 {
    		t.Fatalf("Expected 2 conditions, but got %d", len(actualPDB.Status.Conditions))
    	}
    	if condition == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top