Skip to content

Commit

Permalink
chore: Add size attribute to all bazel test targets (magma#12686)
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Kreutzer <lars.kreutzer@tngtech.com>
  • Loading branch information
LKreutzer authored and emakeev committed Aug 5, 2022
1 parent 2d7888c commit a1a0f75
Show file tree
Hide file tree
Showing 22 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions lte/gateway/c/core/oai/test/gtpv2-c/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package(default_visibility = ["//visibility:private"])

cc_test(
name = "gtpv2_fteid_test",
size = "small",
srcs = [
"test_fteid.cpp",
],
Expand Down
1 change: 1 addition & 0 deletions lte/gateway/c/core/oai/test/itti/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package(default_visibility = ["//lte/gateway/c/core/test:__subpackages__"])

cc_test(
name = "itti_test",
size = "small",
srcs = [
"test_itti.cpp",
],
Expand Down
2 changes: 2 additions & 0 deletions lte/gateway/c/core/oai/test/lib/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package(default_visibility = ["//lte/gateway/c/core/test:__subpackages__"])

cc_test(
name = "lib_3gpp_test",
size = "small",
srcs = [
"test_3gpp.cpp",
],
Expand All @@ -27,6 +28,7 @@ cc_test(

cc_test(
name = "lib_bstr_test",
size = "small",
srcs = [
"test_bstr.cpp",
],
Expand Down
8 changes: 8 additions & 0 deletions lte/gateway/c/core/oai/test/mme_app_task/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ cc_library(

cc_test(
name = "sgw_config_test",
size = "small",
srcs = [
"test_sgw_config.cpp",
],
Expand All @@ -40,6 +41,7 @@ cc_test(

cc_test(
name = "mme_app_config_test",
size = "small",
srcs = [
"test_mme_app_config.cpp",
],
Expand All @@ -51,6 +53,7 @@ cc_test(

cc_test(
name = "mme_app_esm_encode_decode_test",
size = "small",
srcs = [
"test_mme_app_esm_encode_decode.cpp",
],
Expand All @@ -63,6 +66,7 @@ cc_test(

cc_test(
name = "mme_app_emm_encode_decode_test",
size = "small",
srcs = [
"test_mme_app_emm_encode_decode.cpp",
],
Expand All @@ -75,6 +79,7 @@ cc_test(

cc_test(
name = "apn_aggregate_maximum_bit_rate_test",
size = "small",
srcs = [
"test_ApnAggregateMaximumBitRate.cpp",
],
Expand All @@ -86,6 +91,7 @@ cc_test(

cc_test(
name = "eps_quality_of_service_test",
size = "small",
srcs = [
"test_EPSQualityOfService.cpp",
],
Expand All @@ -98,6 +104,7 @@ cc_test(

cc_test(
name = "mme_app_nas_encode_decode_test",
size = "small",
srcs = [
"test_mme_app_nas_encode_decode.cpp",
],
Expand All @@ -120,6 +127,7 @@ cc_library(

cc_test(
name = "mme_procedures_test",
size = "medium",
srcs = [
"test_mme_procedures.cpp",
],
Expand Down
2 changes: 2 additions & 0 deletions lte/gateway/c/core/oai/test/n11/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package(default_visibility = ["//lte/gateway/c/core/test:__subpackages__"])

cc_test(
name = "n11_auth_service_client_test",
size = "small",
srcs = [
"test_auth_service_client.cpp",
],
Expand All @@ -26,6 +27,7 @@ cc_test(

cc_test(
name = "n11_smf_service_client_test",
size = "small",
srcs = [
"test_smf_service_client.cpp",
],
Expand Down
1 change: 1 addition & 0 deletions lte/gateway/c/core/oai/test/nas/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package(default_visibility = ["//lte/gateway/c/core/oai/test:__subpackages__"])

cc_test(
name = "nas_converter_test",
size = "small",
srcs = [
"test_nas_converter.cpp",
],
Expand Down
3 changes: 3 additions & 0 deletions lte/gateway/c/core/oai/test/openflow/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ cc_library(

cc_test(
name = "gtp_app_test",
size = "small",
srcs = [
"test_gtp_app.cpp",
],
Expand All @@ -35,6 +36,7 @@ cc_test(

cc_test(
name = "imsi_encoder_test",
size = "small",
srcs = [
"test_imsi_encoder.cpp",
],
Expand All @@ -46,6 +48,7 @@ cc_test(

cc_test(
name = "openflow_controller_test",
size = "small",
srcs = [
"test_openflow_controller.cpp",
],
Expand Down
1 change: 1 addition & 0 deletions lte/gateway/c/core/oai/test/pipelined_client/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package(default_visibility = ["//visibility:private"])

cc_test(
name = "pipelined_client_test",
size = "small",
srcs = [
"test_pipelined_client.cpp",
],
Expand Down
3 changes: 3 additions & 0 deletions lte/gateway/c/core/oai/test/sgw_s8_task/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package(default_visibility = ["//lte/gateway/c/core/test:__subpackages__"])

cc_test(
name = "sgw_dedicated_bearer_test",
size = "medium",
srcs = [
"sgw_dedicated_bearer.cpp",
],
Expand All @@ -41,6 +42,7 @@ cc_library(

cc_test(
name = "sgw_s8_recv_grpc_messages_test",
size = "small",
srcs = [
"sgw_s8_recv_grpc_messages.cpp",
],
Expand All @@ -53,6 +55,7 @@ cc_test(

cc_test(
name = "sgw_s8_test_attach_proc_test",
size = "medium",
srcs = [
"sgw_s8_test_attach_proc.cpp",
],
Expand Down
1 change: 1 addition & 0 deletions src/go/agwd/config/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ go_library(

go_test(
name = "config_test",
size = "small",
srcs = ["config_test.go"],
data = glob(["testdata/**"]),
embed = [":config"],
Expand Down
1 change: 1 addition & 0 deletions src/go/agwd/config/internal/grpcutil/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ go_library(

go_test(
name = "grpcutil_test",
size = "small",
srcs = ["target_test.go"],
embed = [":grpcutil"],
deps = ["@org_golang_google_grpc//resolver"],
Expand Down
1 change: 1 addition & 0 deletions src/go/agwd/server/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ go_library(

go_test(
name = "server_test",
size = "small",
srcs = [
"server_notwindows_test.go",
"server_windows_test.go",
Expand Down
1 change: 1 addition & 0 deletions src/go/capture/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ go_library(

go_test(
name = "capture_test",
size = "small",
srcs = [
"buffer_test.go",
"middleware_test.go",
Expand Down
1 change: 1 addition & 0 deletions src/go/crash/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ go_library(

go_test(
name = "crash_test",
size = "small",
srcs = ["crash_test.go"],
deps = [
":crash",
Expand Down
1 change: 1 addition & 0 deletions src/go/crash/sentry/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ go_library(

go_test(
name = "sentry_test",
size = "small",
srcs = ["sentry_test.go"],
embed = [":sentry"],
deps = [
Expand Down
1 change: 1 addition & 0 deletions src/go/log/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ go_library(

go_test(
name = "log_test",
size = "small",
srcs = [
"log_test.go",
"mock_logger_test.go",
Expand Down
1 change: 1 addition & 0 deletions src/go/log/zap/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ go_library(

go_test(
name = "zap_test",
size = "small",
srcs = [
"zap_integ_test.go",
"zap_test.go",
Expand Down
1 change: 1 addition & 0 deletions src/go/service/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ go_library(

go_test(
name = "service_test",
size = "small",
srcs = ["router_test.go"],
embed = [":service"],
deps = [
Expand Down
1 change: 1 addition & 0 deletions src/go/service/capture/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ go_library(

go_test(
name = "capture_test",
size = "small",
srcs = ["capture_server_integ_test.go"],
embed = [":capture"],
deps = [
Expand Down
1 change: 1 addition & 0 deletions src/go/service/config/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ go_library(

go_test(
name = "config_test",
size = "small",
srcs = ["config_server_integ_test.go"],
embed = [":config"],
deps = [
Expand Down
1 change: 1 addition & 0 deletions src/go/service/pipelined/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ go_library(

go_test(
name = "pipelined_test",
size = "small",
srcs = ["pipelined_server_integ_test.go"],
deps = [
":pipelined",
Expand Down
1 change: 1 addition & 0 deletions src/go/service/sctpd/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ go_library(

go_test(
name = "sctpd_test",
size = "small",
srcs = [
"proxy_downlink_server_integ_test.go",
"proxy_uplink_server_integ_test.go",
Expand Down

0 comments on commit a1a0f75

Please sign in to comment.