You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestRefreshPolicyWithVariousLatencies verifies RefreshPolicy logic using a test
latencies map.
It was previously flaky due to: 1. not waiting for SetSpanConfig to take effect
before invoking RefreshPolicy, which could trigger the background policy
refresher during the test, and 2. background RefreshPolicy calls on leaseholder
replicas interfering with the test.
This commit resolves both issues by: 1. using SucceedsSoon to wait for
SetSpanConfig to take effect, and 2. invoking RefreshPolicy on a non-leaseholder
replica instead.
Epic: none
Release note: none
0 commit comments