Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testKey1 (0.19 sec)

  1. cmd/xl-storage-format_test.go

    	}
    	xlMeta.Stat = StatInfo{
    		Size:    int64(20),
    		ModTime: UTCNow(),
    	}
    	// Set meta data.
    	xlMeta.Meta = make(map[string]string)
    	xlMeta.Meta["testKey1"] = "val1"
    	xlMeta.Meta["testKey2"] = "val2"
    	return xlMeta
    }
    
    func (m *xlMetaV1Object) AddTestObjectCheckSum(partNumber int, algorithm BitrotAlgorithm, hash string) {
    	checksum, err := hex.DecodeString(hash)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	testCases := []struct {
    		key                 string
    		expectAttachedCount int64
    	}{
    		{
    			key:                 "testkey1",
    			expectAttachedCount: 1,
    		},
    		{
    			key:                 "testkey2",
    			expectAttachedCount: 2,
    		},
    		{
    			key: "testkey3",
    			// We assume each time has 1 object attached to the lease
    			// so after granting a new lease, the recorded count is set to 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. plugin/pkg/admission/podtolerationrestriction/admission_test.go

    			namespaceTolerations:      []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule"}},
    			podTolerations:            []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue1", Effect: "NoSchedule"}},
    			mergedTolerations:         []api.Toleration{{Key: "testKey", Operator: "Equal", Value: "testValue", Effect: "NoSchedule"}, {Key: "testKey", Operator: "Equal", Value: "testValue1", Effect: "NoSchedule"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. cni/pkg/repair/repair_test.go

    				InitExitCode:       126,
    				InitTerminationMsg: "Died for some reason",
    				LabelKey:           "testkey",
    				LabelValue:         "testval",
    			},
    			wantLabels: map[string]string{workingPod.Name: "", workingPodDiedPreviously.Name: "", brokenPodWaiting.Name: "testkey=testval"},
    			wantCount:  1,
    			wantTags:   map[string]string{"result": resultSuccess, "type": labelType},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

        @Test
        void testEnvironmentVariablesAreInterpolated() throws Exception {
            Properties props = new Properties();
            props.put("key", "${env.testKey}");
            Xpp3Dom configurationChild = new Xpp3Dom("jdkHome");
            configurationChild.setValue("${env.testKey}");
            Xpp3Dom configuration = new Xpp3Dom("configuration");
            configuration.addChild(configurationChild);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption_test.go

    			if d := cmp.Diff(tt.want, got); d != "" {
    				t.Fatalf("EncryptionConfiguration validation results mismatch (-want +got):\n%s", d)
    			}
    		})
    	}
    }
    
    func TestKey(t *testing.T) {
    	root := field.NewPath("resources")
    	path := root.Index(0).Child("provider").Index(0).Child("key").Index(0)
    	testCases := []struct {
    		desc string
    		in   apiserver.Key
    		want field.ErrorList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 33.7K bytes
    - Viewed (0)
Back to top