Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestParityCount (0.2 sec)

  1. internal/config/storageclass/storage-class_test.go

    			t.Errorf("Test %d, Expected success, got %s", i+1, err)
    		}
    		if err == nil && !tt.success {
    			t.Errorf("Test %d, Expected failure, got success", i+1)
    		}
    	}
    }
    
    func TestParityCount(t *testing.T) {
    	tests := []struct {
    		sc             string
    		drivesCount    int
    		expectedData   int
    		expectedParity int
    	}{
    		{RRS, 16, 14, 2},
    		{STANDARD, 16, 8, 8},
    		{"", 16, 8, 8},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top