Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assertBad (0.21 sec)

  1. cmd/object-api-multipart_test.go

    		// `KeyMarker` is set, no MultipartInfo expected.
    		// ListMultipartUploads doesn't list the parts.
    		// `Maxupload` value is asserted.
    		{
    			MaxUploads: 100,
    			KeyMarker:  "orange",
    		},
    		// listMultipartResults - 4.
    		// `KeyMarker` is set, no MultipartInfo expected.
    		// Maxupload value is asserted.
    		{
    			MaxUploads: 1,
    			KeyMarker:  "orange",
    		},
    		// listMultipartResults - 5.
    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. cni/pkg/util/pluginutil.go

    // Given an unmarshalled CNI config JSON map, return the plugin list asserted as a []interface{}
    func GetPlugins(cniConfigMap map[string]any) (plugins []any, err error) {
    	plugins, ok := cniConfigMap["plugins"].([]any)
    	if !ok {
    		err = fmt.Errorf("error reading plugin list from CNI config")
    		return
    	}
    	return
    }
    
    // Given the raw plugin interface, return the plugin asserted as a map[string]interface{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// constructing HTTP request to fetch a non-existent object.
    	// expected to fail, error response asserted for expected error values later.
    	objectName := "testObject"
    	request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    // First register the HTTP handler for NewMultipartUpload, then a HTTP request for NewMultipart upload is made.
    // The UploadID from the response body is parsed and its existence is asserted with an attempt to ListParts using it.
    func TestAPINewMultipartHandler(t *testing.T) {
    	defer DetectTestLeak(t)()
    	ExecObjectLayerAPITest(t, testAPINewMultipartHandler, []string{"NewMultipart"})
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top