Skip to content

Commit

Permalink
Update ingress_police_default_test.go with gofmt changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnureddybadveli authored Dec 28, 2024
1 parent 0501af4 commit abadfc3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ import (
"testing"
"time"

"github.com/openconfig/ygot/ygot"
"github.com/open-traffic-generator/snappi/gosnappi"
"github.com/openconfig/featureprofiles/internal/attrs"
"github.com/openconfig/featureprofiles/internal/deviations"
"github.com/openconfig/featureprofiles/internal/fptest"
"github.com/openconfig/featureprofiles/internal/helpers"
"github.com/openconfig/featureprofiles/internal/otgutils"
"github.com/openconfig/ondatra"
"github.com/openconfig/ondatra/gnmi"
"github.com/openconfig/ondatra/gnmi/oc"
"github.com/openconfig/ondatra"
"github.com/openconfig/ygnmi/ygnmi"
"github.com/openconfig/ygot/ygot"
)

var (
Expand Down Expand Up @@ -198,7 +198,7 @@ func TestInterfaceIngressPolicer(t *testing.T) {
count, ok := gnmi.Watch(t, dut, gnmi.OC().Qos().Interface(dp2.Name()).Output().Queue(data.queue).TransmitPkts().State(), timeout, isPresent).Await(t)
if !ok {
t.Logf("TransmitPkts count for queue %q on interface %q not available within %v", dp2.Name(),
data.queue, timeout)
data.queue, timeout)
}
dutQosPktsBeforeTraffic[data.queue], _ = count.Val()

Expand All @@ -223,7 +223,7 @@ func TestInterfaceIngressPolicer(t *testing.T) {
ateOutPkts[data.queue] += ateTxPkts
ateInPkts[data.queue] += ateRxPkts
t.Logf("ateInPkts: %v, txPkts %v, Queue: %v", ateInPkts[data.queue], dutQosPktsAfterTraffic[data.queue],
data.queue)
data.queue)
if ateTxPkts == 0 {
t.Fatalf("TxPkts == 0, want >0.")
}
Expand Down

0 comments on commit abadfc3

Please sign in to comment.