Skip to content

Commit

Permalink
Add missing tests to Bazel build
Browse files Browse the repository at this point in the history
  • Loading branch information
punya committed Sep 1, 2024
1 parent a920898 commit c076f6f
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions sdk/test/metrics/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,66 @@ cc_test(
],
)

cc_test(
name = "instrument_metadata_validator_test",
srcs = [
"instrument_metadata_validator_test.cc",
],
tags = [
"metrics",
"test",
],
deps = [
"metrics_common_test_utils",
"@com_google_googletest//:gtest_main",
],
)

cc_test(
name = "observable_registry_test",
srcs = [
"observable_registry_test.cc",
],
tags = [
"metrics",
"test",
],
deps = [
"metrics_common_test_utils",
"@com_google_googletest//:gtest_main",
],
)

cc_test(
name = "cardinality_limit_test",
srcs = [
"cardinality_limit_test.cc",
],
tags = [
"metrics",
"test",
],
deps = [
"metrics_common_test_utils",
"@com_google_googletest//:gtest_main",
],
)

cc_test(
name = "periodic_exporting_metric_reader_test",
srcs = [
"periodic_exporting_metric_reader_test.cc",
],
tags = [
"metrics",
"test",
],
deps = [
"metrics_common_test_utils",
"@com_google_googletest//:gtest_main",
],
)

otel_cc_benchmark(
name = "attributes_processor_benchmark",
srcs = [
Expand Down

0 comments on commit c076f6f

Please sign in to comment.