mirror of https://github.com/grpc/grpc-java.git
xds: disable processing of UpstreamTlsContext until we are ready to test the feature (#7148)
This commit is contained in:
parent
69191ffc47
commit
8fb6591850
|
|
@ -290,7 +290,9 @@ public final class CdsLoadBalancer extends LoadBalancer {
|
|||
/* edsServiceName = */ newUpdate.getEdsServiceName(),
|
||||
/* lrsServerName = */ newUpdate.getLrsServerName(),
|
||||
new PolicySelection(lbProvider, ImmutableMap.<String, Object>of(), lbConfig));
|
||||
updateSslContextProvider(newUpdate.getUpstreamTlsContext());
|
||||
if (false) {
|
||||
updateSslContextProvider(newUpdate.getUpstreamTlsContext());
|
||||
}
|
||||
if (edsBalancer == null) {
|
||||
edsBalancer = lbRegistry.getProvider(EDS_POLICY_NAME).newLoadBalancer(helper);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ import java.util.HashMap;
|
|||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.JUnit4;
|
||||
|
|
@ -338,6 +339,7 @@ public class CdsLoadBalancerTest {
|
|||
assertThat(xdsClientPool.xdsClient).isNull();
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void handleCdsConfigUpdate_withUpstreamTlsContext() {
|
||||
assertThat(xdsClient).isNull();
|
||||
|
|
|
|||
Loading…
Reference in New Issue