Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 237 for failed (0.18 sec)

  1. internal/bucket/replication/datatypes.go

    	// Failed - replication failed.
    	Failed StatusType = "FAILED"
    
    	// Replica - this is a replica.
    	Replica StatusType = "REPLICA"
    )
    
    // String returns string representation of status
    func (s StatusType) String() string {
    	return string(s)
    }
    
    // Empty returns true if this status is not set
    func (s StatusType) Empty() bool {
    	return string(s) == ""
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. internal/kms/single-key_test.go

    	if err != nil {
    		t.Fatalf("Failed to initialize KMS: %v", err)
    	}
    
    	key, err := KMS.GenerateKey(context.Background(), "my-key", Context{})
    	if err != nil {
    		t.Fatalf("Failed to generate key: %v", err)
    	}
    	plaintext, err := KMS.DecryptKey(key.KeyID, key.Ciphertext, Context{})
    	if err != nil {
    		t.Fatalf("Failed to decrypt key: %v", err)
    	}
    	if !bytes.Equal(key.Plaintext, plaintext) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jul 19 01:54:27 GMT 2022
    - 3K bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    			t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err)
    		}
    	}
    	if gr != nil {
    		_, err = io.Copy(io.Discard, gr)
    		if err != toObjectErr(errErasureReadQuorum, bucket, object) {
    			t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err)
    		}
    		gr.Close()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  4. cmd/data-scanner_test.go

    					NewerNoncurrentVersions: 1,
    				},
    			},
    		},
    	}
    	lcXML, err := xml.Marshal(lc)
    	if err != nil {
    		t.Fatalf("Failed to marshal lifecycle config: %v", err)
    	}
    	vcfg := versioning.Versioning{
    		Status: "Enabled",
    	}
    	vcfgXML, err := xml.Marshal(vcfg)
    	if err != nil {
    		t.Fatalf("Failed to marshal versioning config: %v", err)
    	}
    
    	bucket := "bucket"
    	obj := "obj-1"
    	now := time.Now()
    	meta := BucketMetadata{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. cmd/metrics-v2.go

    	lastMinFailedCount  MetricName = "last_minute_failed_count"
    	lastMinFailedBytes  MetricName = "last_minute_failed_bytes"
    	lastHourFailedCount MetricName = "last_hour_failed_count"
    	lastHourFailedBytes MetricName = "last_hour_failed_bytes"
    	totalFailedCount    MetricName = "total_failed_count"
    	totalFailedBytes    MetricName = "total_failed_bytes"
    
    	currActiveWorkers  MetricName = "current_active_workers"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  6. cmd/postpolicyform_test.go

    		t.Run("", func(t *testing.T) {
    			_, err := parsePostPolicyForm(strings.NewReader(testCase.policy))
    			if testCase.success && err != nil {
    				t.Errorf("Expected success but failed with %s", err)
    			}
    			if !testCase.success && err == nil {
    				t.Errorf("Expected failed but succeeded")
    			}
    		})
    	}
    }
    
    // Test Post Policy parsing and checking conditions
    func TestPostPolicyForm(t *testing.T) {
    	pp := minio.NewPostPolicy()
    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)
  7. cmd/site-replication-metrics_gen.go

    	// string "Failed"
    	o = append(o, 0xa6, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64)
    	o, err = z.Failed.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "Failed")
    		return
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *SRMetric) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
  8. docs/debugging/s3-check-md5/main.go

    				// nothing to do
    			case 2:
    				if p, err := strconv.Atoi(s[1]); err == nil {
    					parts = p
    				} else {
    					log.Println("FAILED: ETAG of", objFullPath(object), "has a wrong format:", err)
    					continue
    				}
    				multipart = true
    			default:
    				log.Println("FAILED: Unexpected ETAG", object.ETag, "for object:", objFullPath(object))
    				continue
    			}
    
    			var partsMD5Sum [][]byte
    			var failedMD5 bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. internal/s3select/json/reader_test.go

    				}
    			}
    			if err != io.EOF {
    				t.Fatalf("Reading failed with %s, %s", err, file.Name())
    			}
    		})
    	}
    }
    
    func BenchmarkReader(b *testing.B) {
    	files, err := os.ReadDir("testdata")
    	if err != nil {
    		b.Fatal(err)
    	}
    	for _, file := range files {
    		b.Run(file.Name(), func(b *testing.B) {
    			f, err := os.ReadFile(filepath.Join("testdata", file.Name()))
    			if err != nil {
    				b.Fatal(err)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  10. cmd/erasure-heal_test.go

    		if err != nil {
    			t.Fatalf("Test %d: failed to setup Erasure environment: %v", i, err)
    		}
    		disks := setup.disks
    		erasure, err := NewErasure(context.Background(), test.dataBlocks, test.disks-test.dataBlocks, test.blocksize)
    		if err != nil {
    			t.Fatalf("Test %d: failed to create ErasureStorage: %v", i, err)
    		}
    		data := make([]byte, test.size)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.9K bytes
    - Viewed (0)
Back to top