Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for uploadTestObject (0.12 sec)

  1. cmd/object-handlers_test.go

    		{"enc-mp-2", []int64{5487701, 5487799, 3}, mapCopy(metaWithSSEC)},
    	}
    
    	// iterate through the above set of inputs and upload the object.
    	for _, input := range objectInputs {
    		uploadTestObject(t, apiRouter, credentials, bucketName, input.objectName, input.partLengths, input.metaData, false)
    	}
    
    	for i, input := range objectInputs {
    		// initialize HTTP NewRecorder, this records any
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    // the object as multipart with 1 part or as a regular single object.
    //
    // All upload failures are considered test errors - this function is
    // intended as a helper for other tests.
    func uploadTestObject(t *testing.T, apiRouter http.Handler, creds auth.Credentials, bucketName, objectName string,
    	partSizes []int64, metadata map[string]string, asMultipart bool,
    ) {
    	if len(partSizes) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top