Skip to content
1 change: 1 addition & 0 deletions tests/forwarding/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ cc_library(
"//p4_pdpi:ir_cc_proto",
"//p4_pdpi:p4_runtime_session",
"//p4_pdpi:p4_runtime_session_extras",
"//p4_pdpi/netaddr:ipv4_address",
"//p4_pdpi/packetlib",
"//p4_pdpi/packetlib:packetlib_cc_proto",
"//tests/lib:p4info_helper",
Expand Down
4 changes: 3 additions & 1 deletion tests/forwarding/l3_admit_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,19 @@
#include <optional>
#include <tuple>

#include "gmock/gmock.h"
#include "gutil/status_matchers.h"
#include "lib/gnmi/gnmi_helper.h"
#include "lib/gnmi/openconfig.pb.h"
#include "p4/config/v1/p4info.pb.h"
#include "p4_pdpi/ir.pb.h"
#include "p4_pdpi/p4_runtime_session.h"
#include "p4_pdpi/p4_runtime_session_extras.h"
#include "proto/gnmi/gnmi.grpc.pb.h"
#include "proto/gnmi/gnmi.pb.h"
#include "tests/lib/switch_test_setup_helpers.h"
#include "thinkit/mirror_testbed.h"
#include "thinkit/mirror_testbed_fixture.h"
#include "gmock/gmock.h"

namespace pins {

Expand Down
1 change: 1 addition & 0 deletions tests/integration/system/nsf/traffic_helpers/otg_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ absl::Status OtgHelper::ValidateTraffic(const Testbed &testbed,

metrics_req.mutable_metrics_request()->set_choice(
otg::MetricsRequest::Choice::flow);
metrics_req.mutable_metrics_request()->mutable_flow();
RETURN_IF_ERROR(gutil::GrpcStatusToAbslStatus(
stub->GetMetrics(&metrics_ctx, metrics_req, &metrics_res)));

Expand Down
Loading
Loading