Skip to content

Commit

Permalink
fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bianpengyuan committed Aug 3, 2018
1 parent 1d718c6 commit 093868e
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions src/istio/control/http/attributes_builder_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ attributes {
}
entries {
key: "path"
value: "/books"
value: "/books?a=b&c=d"
}
}
}
Expand All @@ -101,7 +101,22 @@ attributes {
attributes {
key: "request.path"
value {
string_value: "/books"
string_value: "/books?a=b&c=d"
}
}
attributes {
key: "request.query_params"
value {
string_map_value {
entries {
key: "a"
value: "b"
}
entries {
key: "c"
value: "d"
}
}
}
}
attributes {
Expand All @@ -117,6 +132,12 @@ attributes {
}
}
}
attributes {
key: "request.url_path"
value {
string_value: "/books"
}
}
)";

const char kCheckAttributes[] = R"(
Expand Down

0 comments on commit 093868e

Please sign in to comment.