Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,501 for desk (0.06 sec)

  1. operator/pkg/cache/cache_test.go

    	"istio.io/istio/operator/pkg/object"
    )
    
    func TestFlushObjectCaches(t *testing.T) {
    	tests := []struct {
    		desc     string
    		wantSize int
    	}{
    		{
    			desc:     "flush-cache",
    			wantSize: 0,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			unstObjs := make(map[string]any)
    			tUnstructured := &unstructured.Unstructured{Object: unstObjs}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 20 18:46:12 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go

    )
    
    func TestKMSProviderTimeoutDefaults(t *testing.T) {
    	testCases := []struct {
    		desc string
    		in   *KMSConfiguration
    		want *KMSConfiguration
    	}{
    		{
    			desc: "timeout not supplied",
    			in:   &KMSConfiguration{},
    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "timeout supplied",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. cmd/metrics-v3-system-drive.go

    }
    
    func (m *MetricValues) setDriveAPIMetrics(disk madmin.Disk, labels []string) {
    	if disk.Metrics == nil {
    		return
    	}
    
    	m.Set(driveTimeoutErrorsTotal, float64(disk.Metrics.TotalErrorsTimeout), labels...)
    	m.Set(driveIOErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability-disk.Metrics.TotalErrorsTimeout), labels...)
    	m.Set(driveAvailabilityErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability), labels...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. operator/pkg/tpath/util_test.go

    func TestAddSpecRoot(t *testing.T) {
    	tests := []struct {
    		desc   string
    		in     string
    		expect string
    		err    error
    	}{
    		{
    			desc: "empty",
    			in:   ``,
    			expect: `spec: {}
    `,
    			err: nil,
    		},
    		{
    			desc: "add-root",
    			in: `
    a: va
    b: foo`,
    			expect: `spec:
      a: va
      b: foo
    `,
    			err: nil,
    		},
    		{
    			desc:   "err",
    			in:     `i can't be yaml, can I?`,
    			expect: ``,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 27 09:06:29 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  5. pkg/volume/fc/fc_util_test.go

    		disk        string
    		expectError bool
    	}{
    		{
    			name: "PCI disk 0",
    			wwns: []string{"500a0981891b8dc5"},
    			lun:  "0",
    			disk: "/dev/sda",
    		},
    		{
    			name: "PCI disk 1",
    			wwns: []string{"500a0981891b8dc5"},
    			lun:  "1",
    			disk: "/dev/sdb",
    		},
    		{
    			name: "Non PCI disk",
    			wwns: []string{"5005076810213b32"},
    			lun:  "2",
    			disk: "/dev/sdc",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 23 08:36:01 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  6. cmd/testdata/config/2.yaml

      -
            - 'https://server-example-pool1:9000/mnt/disk{1...4}/'
            - 'https://server1-pool1:9000/mnt/disk{1...4}/'
            - 'https://server3-pool1:9000/mnt/disk{1...4}/'
            - 'https://server4-pool1:9000/mnt/disk{1...4}/'
      -
            - 'https://server-example-pool2:9000/mnt/disk{1...4}/'
            - 'https://server1-pool2:9000/mnt/disk{1...4}/'
            - 'https://server3-pool2:9000/mnt/disk{1...4}/'
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 869 bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/match/match_test.go

    			given: func() Mapper {
    				// root (dest port):
    				//   <no matches>
    				//   fallback (dest ip):
    				//     1.2.3.4: chain
    				fallback := NewDestinationIP()
    				fallback.Map["1.2.3.4"] = ToChain("chain")
    
    				root := NewDestinationPort()
    				root.OnNoMatch = ToMatcher(fallback.Matcher)
    				return root
    			},
    			want: func() *matcher.Matcher {
    				// root (dest ip):
    				//   1.2.3.4: chain
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. pkg/kubelet/kubeletconfig/util/files/files_test.go

    	cases := []test{
    		{
    			desc:    "regular file",
    			writes:  []file{{name: "foo", data: "bar"}},
    			expects: []file{{name: "foo", data: "bar"}},
    		},
    		{
    			desc:    "directory",
    			writes:  []file{{name: "foo", mode: os.ModeDir}},
    			expects: []file{{name: "foo", mode: os.ModeDir}},
    		},
    		{
    			desc:    "deep regular file",
    			writes:  []file{{name: "foo/bar", data: "baz"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  9. pkg/istio-agent/health/health_probers_test.go

    )
    
    func TestHttpProber(t *testing.T) {
    	tests := []struct {
    		desc                string
    		statusCode          int
    		expectedProbeResult ProbeResult
    		expectedError       error
    	}{
    		{
    			desc:                "Healthy - 200 status code",
    			statusCode:          200,
    			expectedProbeResult: Healthy,
    			expectedError:       nil,
    		},
    		{
    			desc:                "Unhealthy - 500 status code",
    			statusCode:          500,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  10. operator/pkg/object/objects_test.go

    			"key": "value2",
    		}},
    	}
    	cases := []struct {
    		desc string
    		o1   *K8sObject
    		o2   *K8sObject
    		want bool
    	}{
    		{
    			desc: "Equals",
    			o1:   &obj1,
    			o2:   &obj1,
    			want: true,
    		},
    		{
    			desc: "NotEquals",
    			o1:   &obj1,
    			o2:   &obj2,
    			want: false,
    		},
    		{
    			desc: "NilSource",
    			o1:   nil,
    			o2:   &obj2,
    			want: false,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top