diff --git a/test/common/upstream/original_dst_cluster_test.cc b/test/common/upstream/original_dst_cluster_test.cc index eb383bde6859..95184e31f63b 100644 --- a/test/common/upstream/original_dst_cluster_test.cc +++ b/test/common/upstream/original_dst_cluster_test.cc @@ -477,8 +477,8 @@ TEST_F(OriginalDstClusterTest, UseHttpHeaderEnabled) { std::string yaml = R"EOF( name: "name" connect_timeout: 1.250s - type: original_dst - lb_type: original_dst_lb + type: ORIGINAL_DST + lb_policy: ORIGINAL_DST_LB original_dst_lb_config: use_http_header: true )EOF"; @@ -551,8 +551,8 @@ TEST_F(OriginalDstClusterTest, UseHttpHeaderDisabled) { std::string yaml = R"EOF( name: "name" connect_timeout: 1.250s - type: original_dst - lb_type: original_dst_lb + type: ORIGINAL_DST + lb_policy: ORIGINAL_DST_LB )EOF"; EXPECT_CALL(initialized_, ready());