Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for fail (0.24 sec)

  1. cmd/generic-handlers_test.go

    		h.ServeHTTP(w, r)
    
    		switch {
    		case test.ShouldFail && w.Code == http.StatusOK:
    			t.Errorf("Test %d: should fail but status code is HTTP %d", i, w.Code)
    		case !test.ShouldFail && w.Code != http.StatusOK:
    			t.Errorf("Test %d: should not fail but status code is HTTP %d and not 200 OK", i, w.Code)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. helm/minio/templates/_helper_create_svcacct.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: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    	if !gotBuckets.Equals(shouldHaveBuckets) {
    		c.Fatalf("root user should have access to all buckets")
    	}
    
    	// This must fail.
    	if err := userAdmClient.AddUser(ctx, globalActiveCred.AccessKey, globalActiveCred.SecretKey); err == nil {
    		c.Fatal("AddUser() for root credential must fail via root STS creds")
    	}
    }
    
    // SetUpLDAP - expects to setup an LDAP test server using the test LDAP
    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)
  4. cmd/server_test.go

    	// assert the status code of the response.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// constructing http request to delete the bucket.
    	// making an attempt to delete an non-empty bucket.
    	// expected to fail.
    	request, err = newTestSignedRequest(http.MethodDelete, getDeleteBucketURL(s.endPoint, bucketName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	response, err = s.client.Do(request)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  5. cmd/erasure-sets_test.go

    	if sipHashElement := hashKey("SIPMOD", "This will fail", -1, testUUID); sipHashElement != -1 {
    		t.Errorf("Test: Expected \"-1\" but got \"%v\"", sipHashElement)
    	}
    
    	if sipHashElement := hashKey("SIPMOD", "This will fail", 0, testUUID); sipHashElement != -1 {
    		t.Errorf("Test: Expected \"-1\" but got \"%v\"", sipHashElement)
    	}
    
    	if sipHashElement := hashKey("UNKNOWN", "This will fail", 0, testUUID); sipHashElement != -1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. cmd/bucket-targets.go

    		if t.Type == tgt.Type {
    			if t.Arn == tgt.Arn {
    				if !update {
    					return BucketRemoteAlreadyExists{Bucket: t.TargetBucket}
    				}
    				newtgts[idx] = *tgt
    				found = true
    				continue
    			}
    			// fail if endpoint is already present in list of targets and not a matching ARN
    			if t.Endpoint == tgt.Endpoint {
    				return BucketRemoteAlreadyExists{Bucket: t.TargetBucket}
    			}
    		}
    		newtgts[idx] = t
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  7. helm/minio/values.yaml

      ## Add new policies as explained here https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management.html#access-management
      ## NOTE: this will fail if LDAP is enabled in your MinIO deployment
      ## make sure to disable this if you are using LDAP.
      - accessKey: console
        secretKey: console123
        policy: consoleAdmin
      # Or you can refer to specific secret
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top