Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/erasure-metadata_test.go

    	fi.SetSkipTierFreeVersion()
    	if ok := fi.SkipTierFreeVersion(); !ok {
    		t.Fatal("Expected SkipTierFreeVersion to be set on FileInfo but wasn't")
    	}
    }
    
    func TestListObjectParities(t *testing.T) {
    	mkMetaArr := func(N, parity, agree int) []FileInfo {
    		fi := newFileInfo("obj-1", N-parity, parity)
    		fi.TransitionTier = "WARM-TIER"
    		fi.TransitionedObjName = mustGetUUID()
    		fi.TransitionStatus = "complete"
    		fi.Size = 1 << 20
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top