outbound: add missing `meta` field in test policy (#2400)

Looks like we accidentally merged PR #2375 without a CI build against
the latest state of `main`. In the meantime since #2375 was last built
on CI, PR #2374 added an additional metadata field to
`policy::HttpParams`, which the `HttpParams` constructed in the test
added from #2375 doesn't populate. Therefore, merging this PR broke the
build. Whoops!

This commit populates the `meta` field, fixing it.
This commit is contained in:
Eliza Weisman 2023-04-24 14:22:28 -07:00 committed by GitHub
parent 2a48e12e2b
commit 15bebe4eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -231,6 +231,7 @@ async fn balancer_doesnt_select_tripped_breakers() {
let (_route_tx, routes) =
watch::channel(Routes::Policy(policy::Params::Http(policy::HttpParams {
addr: dest.into(),
meta: ParentRef(client_policy::Meta::new_default("parent")),
backends: Arc::new([backend.clone()]),
routes: Arc::new([default_route(backend)]),
failure_accrual: client_policy::FailureAccrual::ConsecutiveFailures {