Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testObject3 (0.08 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(true, bytes.Equal(responseBody, []byte("hello two")))
    
    	// data for new object to be uploaded.
    	buffer3 := bytes.NewReader([]byte("hello three"))
    	objectName = "testObject3"
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		int64(buffer3.Len()), buffer3, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    			t.Fatalf("Put Object case %d:  Error uploading object: <ERROR> %v", i+1, err)
    		}
    	}
    
    	testObject := "testobject"
    
    	// Initiate Multipart upload for testing CopyObjectPartHandler.
    	rec := httptest.NewRecorder()
    	req, err := newTestSignedRequestV4(http.MethodPost, getNewMultipartURL("", bucketName, testObject),
    		0, nil, credentials.AccessKey, credentials.SecretKey, nil)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
Back to top