Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fess (0.14 sec)

  1. cmd/server_test.go

    	// Parse the bucket modtime
    	creationTime, err := time.Parse(iso8601TimeFormat, createdBucket.CreationDate)
    	c.Assert(err, nil)
    
    	// Check if bucket modtime is consistent (not less than current time and not late more than 5 minutes)
    	timeNow := time.Now().UTC()
    	c.Assert(creationTime.Before(timeNow), true)
    	c.Assert(timeNow.Sub(creationTime) < time.Minute*5, true)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    				toAPIError(ctx, InvalidUploadID{UploadID: "abc"}),
    				getGetObjectURL("", bucketName, objectName), "", "")),
    			expectedRespStatus: http.StatusNotFound,
    		},
    		// Test case - 4.
    		// Case with part size being less than minimum allowed size.
    		{
    			bucket:    bucketName,
    			object:    objectName,
    			uploadID:  uploadIDs[0],
    			parts:     inputParts[1].parts,
    			accessKey: credentials.AccessKey,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top