Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestValidateParity (0.07 sec)

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

    			return
    		}
    		if tt.expectedError != nil && err.Error() != tt.expectedError.Error() {
    			t.Errorf("Test %d, Expected `%v`, got `%v`", i+1, tt.expectedError, err)
    		}
    	}
    }
    
    func TestValidateParity(t *testing.T) {
    	tests := []struct {
    		rrsParity     int
    		ssParity      int
    		success       bool
    		setDriveCount int
    	}{
    		{2, 4, true, 16},
    		{3, 3, true, 16},
    		{0, 0, true, 16},
    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