Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestHasActiveRules (0.08 sec)

  1. internal/bucket/replication/replication_test.go

    			result := testCase.c.Replicate(testCase.opts)
    			if result != testCase.expectedResult {
    				t.Errorf("expected: %v, got: %v", testCase.expectedResult, result)
    			}
    		})
    	}
    }
    
    func TestHasActiveRules(t *testing.T) {
    	testCases := []struct {
    		inputConfig    string
    		prefix         string
    		expectedNonRec bool
    		expectedRec    bool
    	}{
    		// case 1 - only one rule which is in Disabled status
    		{
    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