Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 84 for error (0.15 sec)

  1. cmd/test-utils_test.go

    			t.Fatalf("MinIO %s: Failed parsing response body: <ERROR> %v", instanceType, err)
    		}
    
    		actualError := &APIErrorResponse{}
    		if err = xml.Unmarshal(actualContent, actualError); err != nil {
    			t.Errorf("MinIO %s: error response failed to parse error XML", instanceType)
    		}
    
    		if actualError.BucketName != bucketName {
    			t.Errorf("MinIO %s: error response bucket name differs from expected value", instanceType)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    		// even if LDAP is enabled.
    		userPolicyMappingsFile: `{
      "foo": {
        "version": 0,
        "policy": "readwrite",
        "updatedAt": "2024-04-23T21:34:43.815519816Z"
      }
    }
    `,
    		// Contains:
    		//
    		// 1. duplicate mapping with same policy, we should not error out;
    		//
    		// 2. non-LDAP group mapping, we should not error out;
    		groupPolicyMappingsFile: `{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    				if !strings.Contains(err.Error(), testCase.err.Error()) {
    					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.
    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)
  4. cmd/xl-storage-format-v2.go

    // and perform a callback for each version in order, newest first.
    // Return errDoneForNow to stop processing and return nil.
    // Any non-nil error is returned.
    func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (err error) {
    	var tHdr, tMeta []byte // Zero copy bytes
    	for i := 0; i < versions; i++ {
    		tHdr, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			return err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  5. tests/test_application.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    			if err != nil && testCase.expectedErr != nil {
    				// Validate if the type string of the errors are an exact match.
    				if err.Error() != testCase.expectedErr.Error() {
    					if runtime.GOOS != globalWindowsOSName {
    						t.Errorf("Case: %d %#v, expected: %s, got: %s", i+1, testCase, testCase.expectedErr, err)
    					} else {
    						var resultErrno, expectErrno uintptr
    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)
  7. src/archive/zip/reader_test.go

    				if err != nil {
    					if !test.wantErr {
    						t.Errorf("%s: %v", path, err)
    					}
    					sawErr = true
    					return nil
    				}
    				files = append(files, path)
    				return nil
    			})
    			if err != nil {
    				t.Errorf("fs.WalkDir error: %v", err)
    			}
    			if test.wantErr && !sawErr {
    				t.Error("succeeded but want error")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  8. cmd/storage-datatypes_gen_test.go

    		t.Log("WARNING: TestEncodeDecodeBaseOptions Msgsize() is inaccurate")
    	}
    
    	vn := BaseOptions{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func BenchmarkEncodeBaseOptions(b *testing.B) {
    	v := BaseOptions{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 60.4K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_gen.go

    func (z *ChecksumAlgo) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ChecksumAlgo(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z ChecksumAlgo) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

            validateStringNotEmpty("modelVersion", problems, Severity.ERROR, Version.BASE, m.getModelVersion(), m);
    
            validateCoordinateId("groupId", problems, m.getGroupId(), m);
    
            validateCoordinateId("artifactId", problems, m.getArtifactId(), m);
    
            validateStringNotEmpty("packaging", problems, Severity.ERROR, Version.BASE, m.getPackaging(), m);
    
            if (!m.getModules().isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top