8b0561aad8
1) Disable MaxRetries in test cluster clients. We generally want to fail as fast as possible in tests so adding unpredictable timing in doesn't help things, especially if we're timing sensitive in the test. 2) EquivalentPolicies is supposed to return true if only one set contains `default` and the other is empty, but if one set was nil instead of simply a zero length slice it would always return false. This means that renewing against, say, `userpass` when not actually specifying any user policies would always fail. |
||
---|---|---|
.. | ||
policyutil.go | ||
policyutil_test.go |