Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedChain (0.16 sec)

  1. src/crypto/x509/verify_test.go

    		nMatched := 0
    		for _, expectedChain := range test.expectedChains {
    			if doesMatch(expectedChain, chain) {
    				nMatched++
    			}
    		}
    		// Allow additional unknown chains if systemLax is set
    		if nMatched == 0 && test.systemLax == false || nMatched > 1 {
    			t.Errorf("Got %v matches for chain %v", nMatched, chainToDebugString(chain))
    			for _, expectedChain := range test.expectedChains {
    				if doesMatch(expectedChain, chain) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_test.go

    	tests := []struct {
    		name           string
    		CIDR           string
    		expectedChains []string
    	}{
    		{
    			name:           "same CIDR",
    			CIDR:           "10.10.0.0/24",
    			expectedChains: []string{"10.10.0.0"},
    		},
    		{
    			name:           "different CIDR",
    			CIDR:           "10.10.10.0/24",
    			expectedChains: []string{"10.10.0.0", "10.10.10.0"},
    		},
    	}
    	for _, tt := range tests {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top