Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestEvalDisks (0.06 sec)

  1. cmd/erasure-metadata-utils_test.go

    		shuffledDisks[13] != disks[1] ||
    		shuffledDisks[14] != disks[15] ||
    		shuffledDisks[15] != disks[0] {
    		t.Errorf("shuffleDisks returned incorrect order.")
    	}
    }
    
    // TestEvalDisks tests the behavior of evalDisks
    func TestEvalDisks(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	nDisks := 16
    	disks, err := getRandomDisks(nDisks)
    	if err != nil {
    		t.Fatal(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top