Commit c689f0d
committed
test: add unit tests for query plan exclusion, LRU cache, and LWT determinism
Add tests for make_query_plan_with_exclusion in RoundRobin, DCAware, and
RackAware policies. Add cache tests (hit, miss, eviction, topology
invalidation, disabled) and LWT determinism tests for TokenAwarePolicy.
Update existing tests to set up token_map mocks and shuffle_replicas=False
to match the new TokenAwarePolicy implementation.1 parent 83aa5e9 commit c689f0d
1 file changed
Lines changed: 407 additions & 8 deletions
0 commit comments