Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 370 for failed (0.16 sec)

  1. .github/workflows/multipart/migrate.sh

    ## we do not need to fail here, since we are going to test
    ## upgrading to master, healing and being able to recover
    ## the last version.
    if [ $failed_count_site1 -ne 0 ]; then
    	echo "failed with multipart on site1 uploads ${failed_count_site1}"
    fi
    
    if [ $failed_count_site2 -ne 0 ]; then
    	echo "failed with multipart on site2 uploads ${failed_count_site2}"
    fi
    
    Shell Script
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. internal/store/queuestore_test.go

    	defer func() {
    		if err := tearDownQueueStore(); err != nil {
    			t.Fatal("Failed to tear down store ", err)
    		}
    	}()
    	store, err := setUpQueueStore(queueDir, 100)
    	if err != nil {
    		t.Fatal("Failed to create a queue store ", err)
    	}
    	// Put 100 items.
    	for i := 0; i < 100; i++ {
    		if err := store.Put(testItem); err != nil {
    			t.Fatal("Failed to put to queue store ", err)
    		}
    	}
    	// Count the items.
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Tue Apr 04 17:52:24 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. cmd/xl-storage_unix_test.go

    		t.Fatalf("Create a file `test` failed with %s expected to pass.", err)
    	}
    
    	// CheckFile - stat the file.
    	if _, err := disk.StatInfoFile(context.Background(), testCase.volName, "hello-world.txt/"+xlStorageFormatFile, false); err != nil {
    		t.Fatalf("Stat failed with %s expected to pass.", err)
    	}
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Jul 25 19:37:26 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  4. internal/store/batch_test.go

    func TestBatch(t *testing.T) {
    	var limit uint32 = 100
    	batch := NewBatch[int, int](limit)
    	for i := 0; i < int(limit); i++ {
    		if err := batch.Add(i, i); err != nil {
    			t.Fatalf("failed to add %v; %v", i, err)
    		}
    		if _, ok := batch.GetByKey(i); !ok {
    			t.Fatalf("failed to get the item by key %v after adding", i)
    		}
    	}
    	err := batch.Add(101, 101)
    	if err == nil || !errors.Is(err, ErrBatchFull) {
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. cmd/bucket-policy-handlers_test.go

    	// The only aim is to generate an HTTP request in a way that the relevant/registered end point is evoked/called.
    	nilBucket := "dummy-bucket"
    
    	nilReq, err := newTestSignedRequestV4(http.MethodPut, getPutPolicyURL("", nilBucket),
    		0, nil, "", "", nil)
    	if err != nil {
    		t.Errorf("MinIO %s: Failed to create HTTP request for testing the response when object Layer is set to `nil`.", instanceType)
    	}
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  6. docs/bucket/replication/DESIGN.md

    All replication failures are picked up by the scanner which runs at a one minute frequency, each time scanning upto a sixteenth of the namespace. Object versions marked `PENDING` or `FAILED` are re-queued for replication.
    
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  7. cmd/admin-handlers_test.go

    	req, err := buildAdminRequest(queryVal, http.MethodGet, "/info", 0, nil)
    	if err != nil {
    		t.Fatalf("Failed to construct get-config object request - %v", err)
    	}
    
    	rec := httptest.NewRecorder()
    	adminTestBed.router.ServeHTTP(rec, req)
    	if rec.Code != http.StatusOK {
    		t.Errorf("Expected to succeed but failed with %d", rec.Code)
    	}
    
    	results := madmin.InfoMessage{}
    	err = json.NewDecoder(rec.Body).Decode(&results)
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  8. internal/s3select/json/preader_test.go

    				}
    			}
    			if err != io.EOF {
    				t.Fatalf("Reading failed with %s, %s", err, file.Name())
    			}
    		})
    	}
    }
    
    func BenchmarkPReader(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 Apr 07 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  9. cmd/bucket-stats.go

    			ReplicatedCount:                  st.ReplicatedCount,
    			Failed:                           st.Failed,
    			FailStats:                        st.FailStats,
    		}
    		if s.Failed.ErrCounts == nil {
    			s.Failed.ErrCounts = make(map[string]int)
    			for k, v := range st.Failed.ErrCounts {
    				s.Failed.ErrCounts[k] = v
    			}
    		}
    		c.Stats[arn] = &s
    	}
    	return c
    }
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    			w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""}
    		}
    	}
    	// x-amz-copy-source-if-modified-since: Return the object only if it has been modified
    	// since the specified time otherwise return 412 (precondition failed).
    	ifModifiedSinceHeader := r.Header.Get(xhttp.AmzCopySourceIfModifiedSince)
    	if ifModifiedSinceHeader != "" {
    		if givenTime, err := amztime.ParseHeader(ifModifiedSinceHeader); err == nil {
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top