rls_e2e_test: stop setting env var that isn't actually being used (#31770)

pull/31771/head
Mark D. Roth 2 years ago committed by GitHub
parent 024a0f7388
commit 7e201fbe42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/cpp/end2end/rls_end2end_test.cc

@ -158,7 +158,6 @@ class FakeResolverResponseGeneratorWrapper {
class RlsEnd2endTest : public ::testing::Test { class RlsEnd2endTest : public ::testing::Test {
protected: protected:
static void SetUpTestSuite() { static void SetUpTestSuite() {
grpc_core::SetEnv("GRPC_EXPERIMENTAL_ENABLE_RLS_LB_POLICY", "true");
GPR_GLOBAL_CONFIG_SET(grpc_client_channel_backup_poll_interval_ms, 1); GPR_GLOBAL_CONFIG_SET(grpc_client_channel_backup_poll_interval_ms, 1);
grpc_core::CoreConfiguration::RegisterBuilder( grpc_core::CoreConfiguration::RegisterBuilder(
grpc_core::RegisterFixedAddressLoadBalancingPolicy); grpc_core::RegisterFixedAddressLoadBalancingPolicy);
@ -167,7 +166,6 @@ class RlsEnd2endTest : public ::testing::Test {
static void TearDownTestSuite() { static void TearDownTestSuite() {
grpc_shutdown_blocking(); grpc_shutdown_blocking();
grpc_core::UnsetEnv("GRPC_EXPERIMENTAL_ENABLE_RLS_LB_POLICY");
grpc_core::CoreConfiguration::Reset(); grpc_core::CoreConfiguration::Reset();
} }

Loading…
Cancel
Save