Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 230 for fail (0.12 sec)

  1. cmd/postpolicyform_test.go

    	"strings"
    	"testing"
    
    	minio "github.com/minio/minio-go/v7"
    )
    
    func TestParsePostPolicyForm(t *testing.T) {
    	testCases := []struct {
    		policy  string
    		success bool
    	}{
    		// missing expiration, will fail.
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  2. internal/jwt/parser.go

    				jwtgo.ValidationErrorClaimsInvalid)
    		}
    	}
    
    	// Lookup key from claims, claims may not be valid and may return
    	// invalid key which is okay as the signature verification will fail.
    	key, err := fn(claims)
    	if err != nil {
    		return err
    	}
    	borrow := signer.HashBorrower()
    	hasher := hmac.New(borrow.Borrow, key)
    	hasher.Write([]byte(tokenStr[:i]))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  3. cmd/lock-rest-client_test.go

    	if err == nil {
    		t.Fatal("Expected for Rlock to fail")
    	}
    
    	_, err = lkClient.Lock(context.Background(), dsync.LockArgs{})
    	if err == nil {
    		t.Fatal("Expected for Lock to fail")
    	}
    
    	_, err = lkClient.RUnlock(context.Background(), dsync.LockArgs{})
    	if err == nil {
    		t.Fatal("Expected for RUnlock to fail")
    	}
    
    	_, err = lkClient.Unlock(context.Background(), dsync.LockArgs{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. internal/mountinfo/mountinfo_linux_test.go

    		t.Fatal(err)
    	}
    	// Failure case where we detected successfully cross device mounts.
    	{
    		absPaths := []string{"/path/to/1"}
    		if err = checkCrossDevice(absPaths, mountsPath); err == nil {
    			t.Fatal("Expected to fail, but found success")
    		}
    
    		mp := []mountInfo{
    			{"/dev/2", "/path/to/1/2", "type2", []string{"flags"}, "2", "2"},
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K 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. cmd/encryption-v1_test.go

    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: should succeed but failed: %v", i, err)
    		}
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: should fail but succeeded", i)
    		}
    		if err == nil {
    			if etag != test.ETag {
    				t.Fatalf("Test %d: ETag mismatch: got %s - want %s", i, etag, test.ETag)
    			}
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  8. internal/s3select/sql/value.go

    	opLte   = "<="
    	opGt    = ">"
    	opGte   = ">="
    	opEq    = "="
    	opIneq  = "!="
    	opIs    = "IS"
    	opIsNot = "ISNOT"
    )
    
    // InferBytesType will attempt to infer the data type of bytes.
    // Will fail if value type is not bytes or it would result in invalid utf8.
    // ORDER: int, float, bool, JSON (object or array), timestamp, string
    // If the content is valid JSON, the type will still be bytes.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  9. docs/config/README.md

    ```
    KEY:
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  10. 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)
Back to top