Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 265 for desc2 (0.04 sec)

  1. pkg/proxy/util/utils_test.go

    	testCases := []struct {
    		desc            string
    		ipString        []string
    		wantIPv6        bool
    		expectCorrect   []string
    		expectIncorrect []string
    	}{
    		{
    			desc:            "empty input IPv4",
    			ipString:        []string{},
    			wantIPv6:        false,
    			expectCorrect:   nil,
    			expectIncorrect: nil,
    		},
    		{
    			desc:            "empty input IPv6",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. operator/pkg/validate/validate_values_test.go

    }
    
    func TestValidateValues(t *testing.T) {
    	tests := []struct {
    		desc     string
    		yamlStr  string
    		wantErrs util.Errors
    	}{
    		{
    			desc: "nil success",
    		},
    		{
    			desc: "StarIPRange",
    			yamlStr: `
    global:
      proxy:
        includeIPRanges: "*"
        excludeIPRanges: "*"
    `,
    		},
    		{
    			desc: "ProxyConfig",
    			yamlStr: `
    global:
      podDNSSearchNamespaces:
      - "my-namespace"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. pkg/bootstrap/option/convert_test.go

    	"istio.io/istio/pkg/model"
    )
    
    // nolint: lll
    func TestTlsContextConvert(t *testing.T) {
    	tests := []struct {
    		desc         string
    		tls          *networkingAPI.ClientTLSSettings
    		sni          string
    		meta         *model.BootstrapNodeMetadata
    		expectTLSCtx string
    	}{
    		{
    			desc:         "no-tls",
    			tls:          &networkingAPI.ClientTLSSettings{},
    			sni:          "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. pkg/kubelet/network/dns/dns_test.go

    		},
    	}
    
    	testCases := []struct {
    		desc         string
    		hostNames    []string
    		resultSearch []string
    		events       []string
    	}{
    		{
    			desc:         "valid: 3 search paths",
    			hostNames:    []string{"testNS.svc.TEST", "svc.TEST", "TEST"},
    			resultSearch: []string{"testNS.svc.TEST", "svc.TEST", "TEST"},
    			events:       []string{},
    		},
    
    		{
    			desc:         "valid: 5 search paths",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  5. src/internal/fuzz/encoding_test.go

    		{
    			desc: "negative uint",
    			in: `go test fuzz v1
    uint(-32)`,
    			reject: true,
    		},
    		{
    			desc: "int8 too large",
    			in: `go test fuzz v1
    int8(1234456)`,
    			reject: true,
    		},
    		{
    			desc: "multiplication in int value",
    			in: `go test fuzz v1
    int(20*5)`,
    			reject: true,
    		},
    		{
    			desc: "double negation",
    			in: `go test fuzz v1
    int(--5)`,
    			reject: true,
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. pilot/pkg/model/extensions_test.go

    	}
    }
    
    func TestFailStrategy(t *testing.T) {
    	cases := []struct {
    		desc string
    		in   *extensions.WasmPlugin
    		out  bool
    	}{
    		{
    			desc: "close",
    			in: &extensions.WasmPlugin{
    				Url:          "file://fake.wasm",
    				FailStrategy: extensions.FailStrategy_FAIL_CLOSE,
    			},
    			out: false,
    		},
    		{
    			desc: "open",
    			in: &extensions.WasmPlugin{
    				Url:          "file://fake.wasm",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. common/config/.golangci.yml

                desc: "use istio.io/istio/pkg/slices"
              - pkg: k8s.io/utils/pointer
                desc: "use istio.io/istio/pkg/ptr"
              - pkg: go.opencensus.io
                desc: "do not use OpenCensus; use OpenTelemetry instead"
              - pkg: golang.org/x/exp/maps
                desc: "do not use golang.org/x/exp/maps; use istio.io/istio/pkg/maps instead"
              - pkg: maps
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("http://www.example.com/catalog?item=12&desc=vacation_hawaii", sitemaps[1].getLoc());
            assertEquals("weekly", ((SitemapUrl) sitemaps[1]).getChangefreq());
            assertNull(((SitemapUrl) sitemaps[1]).getPriority());
    
            assertEquals("2004-12-23", sitemaps[2].getLastmod());
            assertEquals("http://www.example.com/catalog?item=73&desc=vacation_new_zealand", sitemaps[2].getLoc());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    			"failed WriteCert with an error: %v",
    			err,
    		)
    	}
    
    	var tests = []struct {
    		desc     string
    		path     string
    		name     string
    		expected bool
    	}{
    		{
    			desc:     "empty path and name",
    			path:     "",
    			name:     "",
    			expected: false,
    		},
    		{
    			desc:     "valid path and name, both cert and key exist",
    			path:     tmpdir,
    			name:     "foo-0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics_test.go

    	defer registry.Reset()
    	registry.Register(decodeErrorCounts)
    	resourceName := "pods"
    	testedMetrics := "apiserver_storage_decode_errors_total"
    	testCases := []struct {
    		desc     string
    		resource string
    		want     string
    	}{
    		{
    			desc:     "test success",
    			resource: resourceName,
    			want: `
    		# HELP apiserver_storage_decode_errors_total [ALPHA] Number of stored object decode errors split by object type
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top