Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDiskCount (0.09 sec)

  1. cmd/erasure-metadata-utils_test.go

    package cmd
    
    import (
    	"context"
    	"encoding/hex"
    	"fmt"
    	"math/rand"
    	"reflect"
    	"testing"
    )
    
    // Tests caclculating disk count.
    func TestDiskCount(t *testing.T) {
    	testCases := []struct {
    		disks     []StorageAPI
    		diskCount int
    	}{
    		// Test case - 1
    		{
    			disks:     []StorageAPI{&xlStorage{}, &xlStorage{}, &xlStorage{}, &xlStorage{}},
    			diskCount: 4,
    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