Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 177 for desc3 (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go

    	testCases := []struct {
    		desc          string
    		initialVerb   string
    		suggestedVerb string
    		request       *http.Request
    		requestInfo   *request.RequestInfo
    		expectedVerb  string
    	}{
    		{
    			desc:         "An empty string should be designated as unknown",
    			initialVerb:  "",
    			request:      nil,
    			expectedVerb: "other",
    		},
    		{
    			desc:         "LIST should normally map to LIST",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  5. src/testing/sub_test.go

    			}
    			ok := root.Run(tc.desc, tc.f)
    			ctx.release()
    
    			if ok != tc.ok {
    				t.Errorf("%s:ok: got %v; want %v", tc.desc, ok, tc.ok)
    			}
    			if ok != !root.Failed() {
    				t.Errorf("%s:root failed: got %v; want %v", tc.desc, !ok, root.Failed())
    			}
    			if ctx.running != 0 || ctx.numWaiting != 0 {
    				t.Errorf("%s:running and waiting non-zero: got %d and %d", tc.desc, ctx.running, ctx.numWaiting)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 21:27:08 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/ipset/ipset_test.go

    	testCases := []struct {
    		portRange string
    		expectErr bool
    		desc      string
    	}{
    		{ // case[0]
    			portRange: "a-b",
    			expectErr: true,
    			desc:      "invalid port number",
    		},
    		{ // case[1]
    			portRange: "1-2",
    			expectErr: false,
    			desc:      "valid",
    		},
    		{ // case[2]
    			portRange: "90-1",
    			expectErr: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  7. 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)
  8. pkg/api/v1/pod/util_test.go

    	testCases := []struct {
    		desc           string
    		spec           *v1.PodSpec
    		wantContainers []string
    		mask           ContainerType
    	}{
    		{
    			desc:           "empty podspec",
    			spec:           &v1.PodSpec{},
    			wantContainers: []string{},
    			mask:           AllContainers,
    		},
    		{
    			desc: "regular containers",
    			spec: &v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K 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. operator/pkg/translate/translate_value_test.go

    				}
    
    			}
    		})
    	}
    }
    
    func TestValueToK8s(t *testing.T) {
    	tests := []struct {
    		desc      string
    		inIOPSpec string
    		want      string
    		wantErr   string
    	}{
    		{
    			desc: "pilot env k8s setting with values",
    			inIOPSpec: `
    spec:
      components:
        pilot:
          k8s:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 02:56:54 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top