Merge pull request #24162 from markdroth/xds_segfault_fix

Fix cut-and-paste error and change test to catch this kind of bug.
pull/24148/head
Mark D. Roth 5 years ago committed by GitHub
commit eaee09913f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/core/ext/xds/xds_client.cc
  2. 534
      test/cpp/end2end/xds_end2end_test.cc

@ -969,7 +969,7 @@ void XdsClient::ChannelState::AdsCallState::AcceptRdsUpdate(
" resources",
xds_client(), rds_update_map.size());
}
auto& rds_state = state_map_[XdsApi::kLdsTypeUrl];
auto& rds_state = state_map_[XdsApi::kRdsTypeUrl];
for (auto& p : rds_update_map) {
const std::string& route_config_name = p.first;
XdsApi::RdsUpdate& rds_update = p.second;

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save