Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 206 for test1 (0.3 sec)

  1. cmd/object-api-multipart_test.go

    		{"volatile-bucket-1", "test1", "", 0, 0, ListPartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-1"}, false},
    		{"volatile-bucket-2", "test1", "", 0, 0, ListPartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-2"}, false},
    		{"volatile-bucket-3", "test1", "", 0, 0, ListPartsInfo{}, BucketNotFound{Bucket: "volatile-bucket-3"}, false},
    		// Test case for Asserting for invalid objectName (Test number 8).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  2. docs/metrics/v3.md

    be provided with a specific list of buckets via the `bucket` query parameter. Only metrics for the given buckets will be returned (with the bucket label set). For example to query API metrics for buckets `test1` and `test2`, make a scrape request to `/minio/metrics/v3/api/bucket?buckets=test1,test2`. 
    
    Instead of a metrics scrape, it is also possible to list the metrics that would be returned by a path. This is done by adding a `?list` query parameter. The MinIO server will then list all possible...
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 28.5K bytes
    - Viewed (0)
  3. internal/event/target/nsq_test.go

    			SkipVerify bool
    		}
    	}
    	tests := []struct {
    		name    string
    		fields  fields
    		wantErr bool
    	}{
    		{
    			name: "test1_missing_topic",
    			fields: fields{
    				Enable: true,
    				NSQDAddress: xnet.Host{
    					Name:      "127.0.0.1",
    					Port:      4150,
    					IsPortSet: true,
    				},
    				Topic: "",
    			},
    			wantErr: true,
    		},
    		{
    			name: "test2_disabled",
    			fields: fields{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. cmd/site-replication_test.go

    			[]string{},
    		},
    		// Test3: not currently under site replication.
    		{
    			[]madmin.PeerInfo{},
    			set.CreateStringSet(),
    			set.CreateStringSet("dep1", "dep2", "dep3", "dep4"),
    			[]string{},
    		},
    	}
    
    	for i, tc := range testCases {
    		names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites)
    		if len(names) != len(tc.expNames) {
    			t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  5. internal/hash/reader_test.go

    			if err != nil {
    				t.Fatalf("Test %q: Initializing reader failed %s", testCase.desc, err)
    			}
    			_, err = io.Copy(io.Discard, r)
    			if err != nil {
    				if testCase.err == nil {
    					t.Errorf("Test %q; got unexpected error: %v", testCase.desc, err)
    					return
    				}
    				if err.Error() != testCase.err.Error() {
    					t.Errorf("Test %q: Expected error %s, got error %s", testCase.desc, testCase.err, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  6. cmd/data-scanner_test.go

    			want:      lifecycle.DelMarkerDeleteAllVersionsAction,
    		},
    	}
    
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("TestEvalAction-%d", i), func(t *testing.T) {
    			if got := evalActionFromLifecycle(context.TODO(), test.ilm, test.retention, nil, test.obj); got.Action != test.want {
    				t.Fatalf("Expected %v but got %v", test.want, got)
    			}
    		})
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. cmd/server_test.go

    	testCases := []*TestSuiteCommon{
    		// Init and run test on ErasureSD backend with signature v4.
    		{serverType: "ErasureSD", signer: signerV4},
    		// Init and run test on ErasureSD backend with signature v2.
    		{serverType: "ErasureSD", signer: signerV2},
    		// Init and run test on ErasureSD backend, with tls enabled.
    		{serverType: "ErasureSD", signer: signerV4, secure: true},
    		// Init and run test on Erasure backend.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  8. cmd/generic-handlers_test.go

    	},
    }
    
    func TestContainsReservedMetadata(t *testing.T) {
    	for _, test := range containsReservedMetadataTests {
    		test := test
    		t.Run("", func(t *testing.T) {
    			contains := containsReservedMetadata(test.header)
    			if contains && !test.shouldFail {
    				t.Errorf("contains reserved header but should not fail")
    			} else if !contains && test.shouldFail {
    				t.Errorf("does not contain reserved header but failed")
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. cmd/object_api_suite_test.go

    	t.Run("compressed+encrypted", func(t *testing.T) {
    		resetCompressEncryption()
    		enableCompression(t, true)
    		fn(t)
    	})
    }
    
    // ExecExtendedObjectLayerTest will execute the tests with combinations of encrypted & compressed.
    // This can be used to test functionality when reading and writing data.
    func ExecExtendedObjectLayerTest(t *testing.T, objTest objTestType) {
    	execExtended(t, func(t *testing.T) {
    		ExecObjectLayerTest(t, objTest)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    	baseTestCases := []TestSuiteCommon{
    		// Init and run test on ErasureSD backend with signature v4.
    		{serverType: "ErasureSD", signer: signerV4},
    		// Init and run test on ErasureSD backend, with tls enabled.
    		{serverType: "ErasureSD", signer: signerV4, secure: true},
    		// Init and run test on Erasure backend.
    		{serverType: "Erasure", signer: signerV4},
    		// Init and run test on ErasureSet backend.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
Back to top