Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFilterActionableRules (0.12 sec)

  1. internal/bucket/replication/replication_test.go

    			if got := cfg.HasActiveRules(tc.prefix, true); got != tc.expectedRec {
    				t.Fatalf("Expected result with recursive set to true: `%v`, got: `%v`", tc.expectedRec, got)
    			}
    		})
    
    	}
    }
    
    func TestFilterActionableRules(t *testing.T) {
    	testCases := []struct {
    		inputConfig   string
    		prefix        string
    		ExpectedRules []Rule
    	}{
    		// case 1 - only one rule
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
Back to top