Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Rails (0.15 sec)

  1. cmd/object-api-listobjects_test.go

    					t.Errorf("Test %d: %s: Expected to fail with error \"%s\", but instead failed with error \"%s\" instead", i+1, instanceType, testCase.err.Error(), err.Error())
    				}
    			}
    			// Since there are cases for which ListObjects fails, this is
    			// necessary. Test passes as expected, but the output values
    			// are verified for correctness here.
    			if err == nil && testCase.shouldPass {
    				// The length of the expected ListObjectsResult.Objects
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    }
    
    // Tests validate correctness of PutObjectPart.
    func testObjectAPIPutObjectPart(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	// Generating cases for which the PutObjectPart fails.
    	bucket := "minio-bucket"
    	object := "minio-object"
    	opts := ObjectOptions{}
    	// Create bucket before initiating NewMultipartUpload.
    	err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
    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)
  3. cmd/xl-storage_test.go

    	if err := storage.storage.bitrotVerify(context.Background(), pathJoin(path, volName, fileName), size, algo, hashBytes, 0); err == nil {
    		t.Fatal("expected to fail bitrot check")
    	}
    
    	// Check if bitrot fails
    	if err := storage.storage.bitrotVerify(context.Background(), pathJoin(path, volName, fileName), size+1, algo, hashBytes, 0); err == nil {
    		t.Fatal("expected to fail bitrot check")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top