Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for tt (0.15 sec)

  1. operator/cmd/mesh/manifest-generate_test.go

    			var filenames []string
    			if !tt.noInput {
    				filenames = []string{inPath}
    			}
    
    			csource := snapshotCharts
    			if tt.chartSource != "" {
    				csource = tt.chartSource
    			}
    			got, err := runManifestGenerate(filenames, tt.flags, csource, tt.fileSelect)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			if tt.outputDir != "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock_test.go

    			expectErr:   false,
    		},
    	}
    	for _, tt := range tests {
    		tt := tt
    		t.Run("", func(t *testing.T) {
    			_, err := ParseObjectLockConfig(strings.NewReader(tt.value))
    			//nolint:gocritic
    			if tt.expectedErr == nil {
    				if err != nil {
    					t.Fatalf("error: expected = <nil>, got = %v", err)
    				}
    			} else if err == nil {
    				t.Fatalf("error: expected = %v, got = <nil>", tt.expectedErr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. cmd/object-api-utils_test.go

    			keys:     []string{"etag", "xyz"},
    			want:     map[string]string{"content-type": "application/octet-stream"},
    		},
    	}
    	for _, tt := range tests {
    		if got := cleanMetadataKeys(tt.metadata, tt.keys...); !reflect.DeepEqual(got, tt.want) {
    			t.Errorf("Test %s failed, expected %v, got %v", tt.name, tt.want, got)
    		}
    	}
    }
    
    // Tests isCompressed method
    func TestIsCompressed(t *testing.T) {
    	testCases := []struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    		{arg: "", wantKey: "", wantValue: ""},
    	}
    	for _, tt := range tests {
    		t.Run(tt.arg, func(t *testing.T) {
    			gotKey, gotValue := splitEqual(tt.arg)
    			if gotKey != tt.wantKey {
    				t.Errorf("splitEqual(%v) got = %v, want %v", tt.arg, gotKey, tt.wantKey)
    			}
    			if gotValue != tt.wantValue {
    				t.Errorf("splitEqual(%v) got1 = %v, want %v", tt.arg, gotValue, tt.wantValue)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. cmd/xl-storage-format_test.go

    		{3, -1, 5, false},
    		{4, 5, -1, false},
    		{5, 5, 0, true},
    		{6, 5, 0, true},
    		{7, 5, 4, true},
    	}
    	for _, tt := range tests {
    		if got := isXLMetaErasureInfoValid(tt.data, tt.parity); got != tt.want {
    			t.Errorf("Test %d: Expected %v but received %v -> %#v", tt.name, got, tt.want, tt)
    		}
    	}
    }
    
    // newTestXLMetaV1 - initializes new xlMetaV1Object, adds version, allocates a fresh erasure info and metadata.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

    			args: args{ports: []string{"abcd", "2345", "abcd"}},
    			want: []string{"abcd", "2345"},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := dedupPorts(tt.args.ports); !reflect.DeepEqual(got, tt.want) {
    				t.Errorf("dedupPorts() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. cmd/auth-handler_test.go

    		{
    			authT: authType(9),
    			pass:  false,
    		},
    	}
    	// Validate all the test cases.
    	for i, tt := range testCases {
    		ok := isSupportedS3AuthType(tt.authT)
    		if ok != tt.pass {
    			t.Errorf("Test %d:, Expected %t, got %t", i+1, tt.pass, ok)
    		}
    	}
    }
    
    func TestIsRequestPresignedSignatureV2(t *testing.T) {
    	testCases := []struct {
    		inputQueryKey   string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    	// to object (version) on the source tier.
    	TransitionedObjName string `msg:"to"`
    	// TransitionTier is the storage class label assigned to remote tier.
    	TransitionTier string `msg:"tt"`
    	// TransitionVersionID stores a version ID of the object associate
    	// with the remote tier.
    	TransitionVersionID string `msg:"tv"`
    	// ExpireRestored indicates that the restored object is to be expired.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. cmd/testdata/xl-meta-merge.zip

    :›Ö7_]ZéŠzjs®¼N'¼71Ö cxqyKÜo¨ØÞpáЈenKízR}’®úuZLcHƦ 9»/ ¤º ( ¿, £¬øN@\Kª«³_ilgñ¬sÈIQBha2Z V&`ÄØD }ObdmkN~¼ª ˆ¾¾¸< 쾄 ¢€€¸²¦¢ˆ²¾¼ ¨ªŒª¸¾€ª„†8 †ªª °ˆˆ€† >>º²¼<²¾>¨¾¦†>º²¼²¾>¸²¼Š >¨ªŒª¸¾€ª„b> DsqBázM²OªByùmGF¸ ˆ¾ Œ²ªŽ ú²¼òþ Æèö† ¬¾„ †Š€€¾„ˆª¨ ¸¢¼®Š¢®ª†<tt&& îüÊ>ø²¼Š ttʆª ˆ°ª ¬¾¸¸¾jÌX®7±©­­µ«¿7Ÿ©7“Š¼ ¢ †ˆ¢¼¨¢¸¾¼ª ú²¼òþ †ª„Œª„ ¾¼ ø²¼Š °¾†ˆ† „Š¼¼²¼® :¤²ˆ ò¼ˆª¸>âúè ¢„¦°²ˆª¦ˆŠ`ª‘+7Ó½—¯µ±½7··>¨¢ˆ¢ Ž²ˆ° ˆ°ª €¢ˆ° ˆ¾ ˆ°ª ¨„²Œª ¾„ ¨²„ª¦ˆ¾„’ ²¼ Ž°²¦° ’¾Š Ž¢¼ˆ ú²¼òþ ˆ¾ †ˆ¾„N^L¢‹/ · xfqEF¸ rtÜ@}¦‘—ÝåÂpGú¨wmë£iåTqU...
    ZIP Archive
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 30.2K bytes
    - Viewed (0)
Back to top