Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 230 for fail (0.13 sec)

  1. cmd/erasure-server-pool.go

    			// read quorum is returned when the object is visibly
    			// present but its unreadable, we simply ask the writes to
    			// schedule to this pool instead. If there is no quorum
    			// it will fail anyways, however if there is quorum available
    			// with enough disks online but sufficiently inconsistent to
    			// break parity threshold, allow them to be overwritten
    			// or allow new versions to be added.
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    	if err == nil {
    		t.Fatalf("%s: Expected to fail since bucket name is invalid.", instanceType)
    	}
    
    	errMsg := "Bucket not found: minio-bucket"
    	// operation expected to fail since the bucket on which NewMultipartUpload is being initiated doesn't exist.
    	_, err = obj.NewMultipartUpload(context.Background(), bucket, object, opts)
    	if err == nil {
    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)
  3. helm/minio/templates/_helper_custom_command.txt

    connectToMinio() {
      SCHEME=$1
      ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts
      set -e ; # fail if we can't read the keys.
      ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ;
      set +e ; # The connections to minio are allowed to fail.
      echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT" ;
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 19 20:34:14 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  4. cmd/signature-v4_test.go

    	accessKey := globalActiveCred.AccessKey
    
    	testCases := []struct {
    		form     http.Header
    		expected APIErrorCode
    	}{
    		// (0) It should fail if 'X-Amz-Credential' is missing.
    		{
    			form:     http.Header{},
    			expected: ErrCredMalformed,
    		},
    		// (1) It should fail if the access key is incorrect.
    		{
    			form: http.Header{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  5. helm/minio/templates/_helper_create_bucket.txt

    connectToMinio() {
    	SCHEME=$1
    	ATTEMPTS=0
    	LIMIT=29 # Allow 30 attempts
    	set -e   # fail if we can't read the keys.
    	ACCESS=$(cat /config/rootUser)
    	SECRET=$(cat /config/rootPassword)
    	set +e # The connections to minio are allowed to fail.
    	echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jan 12 18:18:57 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. cmd/handler-utils_test.go

    				"X-Minio-Meta-Appid": []string{"minio-meta"},
    			},
    			metadata: map[string]string{
    				"X-Amz-Meta-Appid":   "amz-meta",
    				"X-Minio-Meta-Appid": "minio-meta",
    			},
    			shouldFail: false,
    		},
    		// Fail if header key is not in canonicalized form
    		{
    			header: http.Header{
    				"x-amz-meta-appid": []string{"amz-meta"},
    			},
    			metadata: map[string]string{
    				"x-amz-meta-appid": "amz-meta",
    			},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    				continue
    			}
    		}
    
    		if offlineDrives >= (len(storageDisks)+1)/2 {
    			// if offline drives are more than 50% of the drives
    			// we have no quorum, we shouldn't proceed just
    			// fail at that point.
    			return ObjectInfo{}, toObjectErr(errErasureWriteQuorum, bucket, object)
    		}
    
    		if parityDrives >= len(storageDisks)/2 {
    			parityDrives = len(storageDisks) / 2
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  8. cmd/signature-v4-utils_test.go

    	// expected to fail with `ErrUnsignedHeaders`.
    	_, errCode = extractSignedHeaders(signedHeaders, r)
    	if errCode != ErrUnsignedHeaders {
    		t.Fatalf("Expected the APIErrorCode to %d, but got %d", ErrUnsignedHeaders, errCode)
    	}
    
    	// case where the list of signed headers doesn't contain the host field.
    	signedHeaders = signedHeaders[2:5]
    	// expected to fail with `ErrUnsignedHeaders`.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  9. .github/workflows/go-fips.yml

            with:
              context: .
              file: Dockerfile.fips.test
              push: false
              load: true
              tags: minio/fips-test:latest
    
          # This should fail if grep returns non-zero exit
          - name: Test binary
            run: |
              docker run --rm minio/fips-test:latest ./minio --version
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    	}
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	// Tags XML will not be bigger than 1MiB in size, fail if its bigger.
    	tags, err := tags.ParseObjectXML(io.LimitReader(r.Body, 1<<20))
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top