Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/erasure-metadata_test.go

    		TransitionStatus:    inputs[0].status,
    	}
    	ofi := FileInfo{}
    	if fi.TransitionInfoEquals(ofi) {
    		t.Fatalf("Expected to be inequal: fi %v ofi %v", fi, ofi)
    	}
    }
    
    func TestSkipTierFreeVersion(t *testing.T) {
    	fi := newFileInfo("object", 8, 8)
    	fi.SetSkipTierFreeVersion()
    	if ok := fi.SkipTierFreeVersion(); !ok {
    		t.Fatal("Expected SkipTierFreeVersion to be set on FileInfo but wasn't")
    	}
    }
    
    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