Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for NCases (0.1 sec)

  1. tests/integration/security/authz_test.go

    								cases = append(cases,
    									testCase{
    										path:  fmt.Sprintf("/policy-%s-all", ns.Prefix()),
    										allow: ns.Name() == to.Config().Namespace.Name(),
    									})
    							}
    
    							// Make sure the workload-specific paths succeeds.
    							cases = append(cases,
    								testCase{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    	}
    
    	// Validate all the test cases.
    	for i, testCase := range testCases {
    		actualInfo, actualErr := obj.PutObjectPart(context.Background(), testCase.bucketName, testCase.objName, testCase.uploadID, testCase.PartID, mustGetPutObjReader(t, bytes.NewBufferString(testCase.inputReaderData), testCase.inputDataSize, testCase.inputMd5, testCase.inputSHA256), opts)
    		// All are test cases above are expected to fail.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    			}
    		})
    	}
    }
    
    // Tests validate volume name.
    func TestIsValidVolname(t *testing.T) {
    	testCases := []struct {
    		volName    string
    		shouldPass bool
    	}{
    		// Cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

    from tensorflow.python.saved_model import tag_constants
    from tensorflow.python.types import core
    
    _CalibrationMethod = qc.CalibrationOptions.CalibrationMethod
    
    
    # Test cases for Static Range Quantization.
    # Tries to run all tests cases in both the graph mode (default in TF1) and the
    # eager mode (default in TF2) to ensure support for when TF2 is disabled.
    class StaticRangeQuantizationTest(quantize_model_test_base.QuantizedModelTest):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. pkg/apis/storage/validation/validation_test.go

    			Parameters: longParameters,
    		},
    	}
    
    	// Error cases are not expected to pass validation.
    	for testName, v := range errorCases {
    		if errs := ValidateVolumeAttributesClass(&v); len(errs) == 0 {
    			t.Errorf("Expected failure for test: %s", testName)
    		}
    	}
    }
    
    func TestValidateVolumeAttributesClassUpdate(t *testing.T) {
    	cases := map[string]struct {
    		oldClass      *storage.VolumeAttributesClass
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  6. pilot/pkg/model/telemetry_logging_test.go

    				celFormatter,
    			},
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			got := accessLogJSONFormatters(tc.json)
    			assert.Equal(t, tc.expected, got)
    		})
    	}
    }
    
    func TestAccessLogTextFormatters(t *testing.T) {
    	cases := []struct {
    		name     string
    		text     string
    		expected []*core.TypedExtensionConfig
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  7. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    		}
    	}
    	// Always update the probe time if node lease is renewed.
    	// Note: If kubelet never posted the node status, but continues renewing the
    	// heartbeat leases, the node controller will assume the node is healthy and
    	// take no action.
    	observedLease, _ := nc.leaseLister.Leases(v1.NamespaceNodeLease).Get(node.Name)
    	if observedLease != nil && (savedLease == nil || savedLease.Spec.RenewTime.Before(observedLease.Spec.RenewTime)) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/sidecar_simulation_test.go

    		return &model.Proxy{ConfigNamespace: ns}
    	}
    	cases := []struct {
    		name            string
    		cfg             []Configer
    		proxy           *model.Proxy
    		routeName       string
    		expected        map[string][]string
    		expectedGateway map[string][]string
    		oldestWins      bool
    	}{
    		// Port 80 has special cases as there is defaulting logic around this port
    		{
    			name: "simple port 80",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  9. pkg/controller/replicaset/replica_set_test.go

    				scheduledRunningReadyPodOnNode1,
    				scheduledRunningNotReadyPod,
    			},
    			diff:                 1,
    			expectedPodsToDelete: []*v1.Pod{scheduledRunningNotReadyPod},
    		},
    		{
    			name: "various pod phases and conditions, diff = len(pods)",
    			pods: []*v1.Pod{
    				scheduledRunningReadyPodOnNode1,
    				scheduledRunningReadyPodOnNode1,
    				scheduledRunningReadyPodOnNode2,
    				scheduledRunningNotReadyPod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    #endif  // GTEST_HAS_PARAM_TEST
    
      // Gets the number of successful test cases.
      int successful_test_case_count() const;
    
      // Gets the number of failed test cases.
      int failed_test_case_count() const;
    
      // Gets the number of all test cases.
      int total_test_case_count() const;
    
      // Gets the number of all test cases that contain at least one test
      // that should run.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
Back to top