|
|
@ -207,7 +207,8 @@ class XdsOverrideHostTest : public LoadBalancingPolicyTest { |
|
|
|
std::vector<std::string> actual_picks; |
|
|
|
std::vector<std::string> actual_picks; |
|
|
|
for (size_t i = 0; i < expected.size(); ++i) { |
|
|
|
for (size_t i = 0; i < expected.size(); ++i) { |
|
|
|
auto address = ExpectPickComplete( |
|
|
|
auto address = ExpectPickComplete( |
|
|
|
picker, {attribute}, /*subchannel_call_tracker=*/nullptr, location); |
|
|
|
picker, {attribute}, /*subchannel_call_tracker=*/nullptr, |
|
|
|
|
|
|
|
/*picked_subchannel=*/nullptr, location); |
|
|
|
ASSERT_TRUE(address.has_value()) |
|
|
|
ASSERT_TRUE(address.has_value()) |
|
|
|
<< location.file() << ":" << location.line(); |
|
|
|
<< location.file() << ":" << location.line(); |
|
|
|
EXPECT_THAT(*address, ::testing::AnyOfArray(expected)) |
|
|
|
EXPECT_THAT(*address, ::testing::AnyOfArray(expected)) |
|
|
|