mirror of https://github.com/grpc/grpc-java.git
Flip default for RLS on XDS being enabled to true. (#10248)
This commit is contained in:
parent
6949b8790a
commit
217103cd5e
|
@ -47,7 +47,7 @@ abstract class XdsResourceType<T extends ResourceUpdate> {
|
|||
@VisibleForTesting
|
||||
static final String HASH_POLICY_FILTER_STATE_KEY = "io.grpc.channel_id";
|
||||
@VisibleForTesting
|
||||
static boolean enableRouteLookup = getFlag("GRPC_EXPERIMENTAL_XDS_RLS_LB", false);
|
||||
static boolean enableRouteLookup = getFlag("GRPC_EXPERIMENTAL_XDS_RLS_LB", true);
|
||||
@VisibleForTesting
|
||||
static boolean enableLeastRequest =
|
||||
!Strings.isNullOrEmpty(System.getenv("GRPC_EXPERIMENTAL_ENABLE_LEAST_REQUEST"))
|
||||
|
|
|
@ -172,7 +172,6 @@ public class XdsClientImplDataTest {
|
|||
@Before
|
||||
public void setUp() {
|
||||
originalEnableRouteLookup = XdsResourceType.enableRouteLookup;
|
||||
assertThat(originalEnableRouteLookup).isFalse();
|
||||
originalEnableLeastRequest = XdsResourceType.enableLeastRequest;
|
||||
assertThat(originalEnableLeastRequest).isFalse();
|
||||
originalEnableWrr = XdsResourceType.enableWrr;
|
||||
|
|
Loading…
Reference in New Issue