Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 218 for desc1 (0.05 sec)

  1. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    					}
    				}
    			}
    		})
    	}
    }
    
    func TestFeatureEnabled(t *testing.T) {
    	var tests = []struct {
    		desc                         string
    		shutdownGracePeriodRequested time.Duration
    		featureGateEnabled           bool
    		expectEnabled                bool
    	}{
    		{
    			desc:                         "shutdownGracePeriodRequested 0; disables feature",
    			shutdownGracePeriodRequested: time.Duration(0 * time.Second),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  2. pkg/kubelet/config/file_linux_test.go

    						t.Fatalf("%s: Cannot convert pod %#v, %#v", testCase.desc, pod, err)
    					}
    					if errs := validation.ValidatePodCreate(internalPod, validation.PodValidationOptions{}); len(errs) > 0 {
    						t.Fatalf("%s: Invalid pod %#v, %#v", testCase.desc, internalPod, errs)
    					}
    				}
    				if !apiequality.Semantic.DeepEqual(testCase.expected, update) {
    					t.Fatalf("%s: Expected %#v, Got %#v", testCase.desc, testCase.expected, update)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 09:38:23 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreator.java

            }
    
            @Override
            public MethodVisitor visitMethod(int access, final String name, final String desc, String signature, String[] exceptions) {
                return new MethodVisitor(AsmConstants.ASM_LEVEL, super.visitMethod(access, name, desc, signature, exceptions)) {
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  4. pkg/proxy/servicechangetracker_test.go

    	testCases := []struct {
    		desc          string
    		service       *v1.Service
    		expected      map[ServicePortName]*BaseServicePortInfo
    		ipFamily      v1.IPFamily
    		ipModeEnabled bool
    	}{
    		{
    			desc:     "nothing",
    			ipFamily: v1.IPv4Protocol,
    
    			service:  nil,
    			expected: map[ServicePortName]*BaseServicePortInfo{},
    		},
    		{
    			desc:     "headless service",
    			ipFamily: v1.IPv4Protocol,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  5. pkg/kubelet/util/manager/watch_based_manager_test.go

    	}
    
    	tests := []struct {
    		desc     string
    		initial  *v1.Secret
    		eventual *v1.Secret
    	}{
    		{
    			desc:     "secret doesn't exist, created as mutable",
    			initial:  nil,
    			eventual: secret("200", false),
    		},
    		{
    			desc:     "secret doesn't exist, created as immutable",
    			initial:  nil,
    			eventual: secret("200", true),
    		},
    		{
    			desc:     "mutable secret modified to mutable",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 09 10:05:43 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  6. cmd/metrics-v3-types.go

    	for metricName, mv := range m.values {
    		desc := m.descriptors[metricName]
    		promDesc := desc.toPromDesc(namePrefix, extraLabels)
    		for _, v := range mv {
    			// labelValues is in the same order as the variable labels in the
    			// descriptor.
    			labelValues := make([]string, 0, len(v.Labels))
    			for _, k := range desc.VariableLabels {
    				labelValues = append(labelValues, v.Labels[k])
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 07:41:18 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/metrics_test.go

    		"apiextensions_apiserver_validation_ratcheting_seconds",
    	}
    
    	testCases := []struct {
    		desc   string
    		obj    *unstructured.Unstructured
    		old    *unstructured.Unstructured
    		schema apiextensions.JSONSchemaProps
    		iters  int // how many times to validate the same update before checking metric
    		want   string
    	}{
    		{
    			desc: "valid noop update",
    			obj: &unstructured.Unstructured{
    				Object: map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. src/net/http/fcgi/fcgi_test.go

    				t.Errorf("%s: error reading record: %v", test.desc, err)
    				continue outer
    			}
    			content = append(content, rec.content()...)
    		}
    		if rec.h.Type != test.recType {
    			t.Errorf("%s: got type %d expected %d", test.desc, rec.h.Type, test.recType)
    			continue
    		}
    		if rec.h.Id != test.reqId {
    			t.Errorf("%s: got request ID %d expected %d", test.desc, rec.h.Id, test.reqId)
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 18:51:39 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service_unix_test.go

    			wantErr:     "rpc error: code = DeadlineExceeded desc = context deadline exceeded",
    		},
    		{
    			desc:               "timeout zero but kms-plugin already up - still failure - zero timeout is an invalid value",
    			callTimeout:        0 * time.Second,
    			pluginDelay:        0 * time.Second,
    			kubeAPIServerDelay: 2 * time.Second,
    			wantErr:            "rpc error: code = DeadlineExceeded desc = context deadline exceeded",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 29 05:36:41 UTC 2023
    - 10K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service_unix_test.go

    			wantErr:     "rpc error: code = DeadlineExceeded desc = context deadline exceeded",
    		},
    		{
    			desc:               "timeout zero but kms-plugin already up - still failure - zero timeout is an invalid value",
    			callTimeout:        0 * time.Second,
    			pluginDelay:        0 * time.Second,
    			kubeAPIServerDelay: 2 * time.Second,
    			wantErr:            "rpc error: code = DeadlineExceeded desc = context deadline exceeded",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top