Skip to content

Commit

Permalink
WRED ECN marking test (#893)
Browse files Browse the repository at this point in the history
Co-authored-by: Srikishen Pondicherry Shanmugam <kishanps@google.com>
  • Loading branch information
bibhuprasad-hcl and kishanps authored Dec 27, 2024
1 parent 9f740d0 commit eaa1c4b
Show file tree
Hide file tree
Showing 4 changed files with 599 additions and 40 deletions.
34 changes: 0 additions & 34 deletions tests/gnmi/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -117,37 +117,3 @@ cc_library(
],
alwayslink = True,
)

cc_library(
name = "counter_timestamp_test",
testonly = True,
srcs = ["counter_timestamp_test.cc"],
hdrs = ["ethcounter_ixia_test.h"],
deps = [
"//gutil:collections",
"//gutil:proto",
"//gutil:status_matchers",
"//gutil:testing",
"//lib:ixia_helper",
"//lib:ixia_helper_cc_proto",
"//p4_pdpi:p4_runtime_session",
"//p4_pdpi:pd",
"//p4_pdpi/netaddr:mac_address",
"//sai_p4/instantiations/google:sai_pd_cc_proto",
"//tests/forwarding:util",
"//tests/lib:switch_test_setup_helpers",
"//tests/qos:qos_test_util",
"//thinkit:generic_testbed",
"//thinkit:generic_testbed_fixture",
"//thinkit:switch",
"//thinkit/proto:generic_testbed_cc_proto",
"@com_github_google_glog//:glog",
"@com_google_absl//absl/cleanup",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest",
],
alwayslink = True,
)
20 changes: 20 additions & 0 deletions tests/qos/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,32 @@ cc_library(
srcs = ["frontpanel_qos_test.cc"],
hdrs = ["frontpanel_qos_test.h"],
deps = [
":packet_in_receiver",
":qos_test_util",
"//gutil:collections",
"//gutil:status_matchers",
"//gutil:testing",
"//lib:ixia_helper",
"//lib/gnmi:gnmi_helper",
"//p4_pdpi:ir",
"//p4_pdpi:p4_runtime_session",
"//p4_pdpi:pd",
"//p4_pdpi/netaddr:ipv4_address",
"//p4_pdpi/netaddr:ipv6_address",
"//p4_pdpi/netaddr:mac_address",
"//p4_pdpi/packetlib",
"//p4_pdpi/packetlib:packetlib_cc_proto",
"//sai_p4/instantiations/google:sai_p4info_cc",
"//sai_p4/instantiations/google:sai_pd_cc_proto",
"//dvaas:test_vector_cc_proto",
"//tests/lib:switch_test_setup_helpers",
"//thinkit:generic_testbed",
"//thinkit:generic_testbed_fixture",
"@com_github_p4lang_p4runtime//:p4info_cc_proto",
"@com_google_absl//absl/cleanup",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest",
],
alwayslink = True,
Expand Down Expand Up @@ -163,5 +182,6 @@ cc_library(
hdrs = ["packet_in_receiver.h"],
deps = [
"//p4_pdpi:p4_runtime_session",
"@com_google_absl//absl/synchronization",
],
)
Loading

0 comments on commit eaa1c4b

Please sign in to comment.