Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 374 for failed (0.47 sec)

  1. internal/config/crypto_test.go

    	if err != nil {
    		t.Fatalf("Failed to decode master key: %v", err)
    	}
    	KMS, err := kms.New("my-key", key)
    	if err != nil {
    		t.Fatalf("Failed to create KMS: %v", err)
    	}
    
    	for i, test := range encryptDecryptTests {
    		ciphertext, err := Encrypt(KMS, bytes.NewReader(test.Data), test.Context)
    		if err != nil {
    			t.Fatalf("Test %d: failed to encrypt stream: %v", i, err)
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  2. internal/deadlineconn/deadlineconn_test.go

    	_, err = io.WriteString(c, "message one\n")
    	if err != nil {
    		t.Fatalf("failed to write to server. %v", err)
    	}
    	_, err = io.WriteString(c, "message two\n")
    	if err != nil {
    		t.Fatalf("failed to write to server. %v", err)
    	}
    
    	received, err := bufio.NewReader(c).ReadString('\n')
    	if err != nil {
    		t.Fatalf("failed to read from server. %v", err)
    	}
    	if received != "messages received\n" {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Nov 05 18:09:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  3. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

              "exemplar": true,
              "expr": "sum by (bucket) (minio_bucket_replication_total_failed_bytes{job=\"$scrape_jobs\"})",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "Replication Failed [{{bucket}}]",
              "refId": "A"
            }
          ],
          "title": "Replication Data Failed",
          "type": "timeseries"
        },
        {
          "datasource": {
    Json
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 102K bytes
    - Viewed (0)
  4. cmd/object-api-putobject_test.go

    		t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s.", len(testCases)+1, instanceType, actualErr.Error())
    	}
    	// Failed as expected, but does it fail for the expected reason.
    	if actualErr != nil && !testCase.shouldPass {
    		if !errors.Is(actualErr, testCase.expectedError) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwks_test.go

    	}
    
    	var kids []string
    	for ii, jks := range jk.Keys {
    		_, err := jks.DecodePublicKey()
    		if err != nil {
    			t.Fatalf("Failed to decode key %d: %v", ii, err)
    		}
    		kids = append(kids, jks.Kid)
    	}
    	if len(kids) != 3 {
    		t.Fatalf("Failed to find the expected number of kids: 3, got %d", len(kids))
    	}
    }
    
    // A.1 - Example public keys
    func TestPublicKey(t *testing.T) {
    	const jsonkey = `{"keys":
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 9.8K bytes
    - Viewed (0)
  6. helm/minio/templates/_helper_create_user.txt

    #!/bin/sh
    set -e ; # Have script exit in the event of a failed command.
    
    {{- if .Values.configPathmc }}
    MC_CONFIG_DIR="{{ .Values.configPathmc }}"
    MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}"
    {{- else }}
    MC="/usr/bin/mc --insecure"
    {{- end }}
    
    # AccessKey and secretkey credentials file are added to prevent shell execution errors caused by special characters.
    # Special characters for example : ',",<,>,{,}
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 12 23:43:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    	r, err := obj.GetObjectNInfo(context.Background(), bucketName, testObject, nil, nil, ObjectOptions{})
    	if err != nil {
    		t.Fatalf("Test: %s reading completed file failed: <ERROR> %v", instanceType, err)
    	}
    	if _, err = io.Copy(&buf, r); err != nil {
    		r.Close()
    		t.Fatalf("Test %s: Failed to fetch the copied object: <ERROR> %s", instanceType, err)
    	}
    	r.Close()
    	if !bytes.Equal(buf.Bytes(), bytesData[0].byteData) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    		ri.Complete = ri.ObjectsFailed == 0
    		ri.Failed = ri.ObjectsFailed > 0
    
    		globalBatchJobsMetrics.save(job.ID, ri)
    		// persist in-memory state to disk.
    		batchLogIf(ctx, ri.updateAfter(ctx, api, 0, job))
    
    		if err := r.Notify(ctx, ri); err != nil {
    			batchLogIf(ctx, fmt.Errorf("unable to notify %v", err))
    		}
    
    		cancel()
    		if ri.Failed {
    			ri.ObjectsFailed = 0
    			ri.Bucket = ""
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  9. cmd/bucket-replication_test.go

    			expectedSync: true,
    		},
    
    		{ // 2. replication status Failed
    			name: "existing object replication on object in Failed replication status",
    			info: ObjectInfo{
    				Size:                      100,
    				ReplicationStatusInternal: "arn1:FAILED",
    				ReplicationStatus:         replication.Failed,
    				VersionID:                 "a3348c34-c352-4498-82f0-1098e8b34df9",
    			},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Sep 16 09:28:06 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  10. internal/crypto/key_test.go

    	}
    	for i, etag := range sealUnsealETagTests {
    		tag, err := hex.DecodeString(etag)
    		if err != nil {
    			t.Errorf("Test %d: failed to decode etag: %s", i, err)
    		}
    		sealedETag := key.SealETag(tag)
    		unsealedETag, err := key.UnsealETag(sealedETag)
    		if err != nil {
    			t.Errorf("Test %d: failed to decrypt etag: %s", i, err)
    		}
    		if !bytes.Equal(unsealedETag, tag) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top