[OTel] Minor test cleanup (#34353)

<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
pull/34433/head
Yash Tibrewal 1 year ago committed by GitHub
parent 6c11f4f181
commit 112fffcdb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      test/cpp/ext/otel/otel_plugin_test.cc

@ -330,8 +330,7 @@ TEST_F(OTelPluginEnd2EndTest, TargetSelectorReturnsFalse) {
/*labels_injector=*/nullptr,
/*test_no_meter_provider=*/false,
/*target_selector=*/
[server_address = canonical_server_address_](
absl::string_view /*target*/) { return false; });
[](absl::string_view /*target*/) { return false; });
SendRPC();
auto data = ReadCurrentMetricsData(
[&](const absl::flat_hash_map<

Loading…
Cancel
Save