Add test for Http Metadata exchange #2567
Conversation
| @@ -257,7 +257,7 @@ void MetadataExchangeFilter::tryReadProxyData(Buffer::Instance& data) { | |||
| setFilterState(config_->filter_direction_ == FilterDirection::Downstream | |||
There was a problem hiding this comment.
Changes in this file are covered by https://github.com/istio/proxy/pull/2565/files PR
77006fb to
6d64c2d
Compare
6d64c2d to
efceb80
Compare
108685a to
4c270c7
Compare
Cleanup ports Format http server Add ability to add client and server yaml files that test finally uses Add more validation for source and destination app in http test Upgrade to latest envoy-wasm Fix failures in tests Fix lint errors Fix lint errors Fix tests Fix tests
b3d017c to
534d141
Compare
| "pod-template-hash": "84975bc778" | ||
| }, | ||
| "ISTIO_PROXY_SHA": "istio-proxy:47e4559b8e4f0d516c0d17b233d127a3deb3d7ce", | ||
| "NAME": "ratings-v1-84975bc778-pxz2w",` |
There was a problem hiding this comment.
nit: please don't embed config in sources. They are difficult to upgrade when the config needs to be changed.
There was a problem hiding this comment.
Agreed.. there is a lot of common config in tests.. will update them all together into templates...
There was a problem hiding this comment.
I started dumping them into https://github.com/istio/proxy/tree/master/testdata. You just need to assemble them as necessary.
There was a problem hiding this comment.
will do that, in a cleanup cl following this PR
kyessenov
left a comment
There was a problem hiding this comment.
Thanks! We can clean up / de-duplicate the test artifacts later.
|
/test test-tsan_proxy |
What this PR does / why we need it:
Add test for Http Metadata exchange using network metadata exchange filter and prometheus stats filter.
This PR also, cleans up envoy config for http requests and makes it more easy to use and understand.
It currently depends on envoyproxy/envoy-wasm#310 to work properly