Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TestNoncurrentVersionsLimit (0.09 seconds)

  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{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
Back to Top