Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNoncurrentVersionsLimit (0.13 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    		t.Fatalf("Expected action: %s but got %s", TransitionAction, evt.Action)
    	}
    	if evt.StorageClass != "TIER-2" {
    		t.Fatalf("Expected TIER-2 but got %s", evt.StorageClass)
    	}
    }
    
    func TestNoncurrentVersionsLimit(t *testing.T) {
    	// test that the lowest max noncurrent versions limit is returned among
    	// matching rules
    	var rules []Rule
    	for i := 1; i <= 10; i++ {
    		rules = append(rules, Rule{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top