Skip to content

Commit

Permalink
QOS changes (#2111)
Browse files Browse the repository at this point in the history
* fix test expectation

* fix isis interface passive test to use session library

* Fix QOS tests for Arista
  • Loading branch information
Ankur19 authored Sep 13, 2023
1 parent ea00cc1 commit dc081fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions feature/qos/otg_tests/qos_basic_test/qos_basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,9 @@ func ConfigureQoS(t *testing.T, dut *ondatra.DUTDevice) {
i := q.GetOrCreateInterface(dp3.Name())
i.SetInterfaceId(dp3.Name())
i.GetOrCreateInterfaceRef().Interface = ygot.String(dp3.Name())
if deviations.InterfaceRefConfigUnsupported(dut) {
i.InterfaceRef = nil
}
output := i.GetOrCreateOutput()
schedulerPolicy := output.GetOrCreateSchedulerPolicy()
schedulerPolicy.SetName(tc.scheduler)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ func testECNConfig(t *testing.T) {
ecnEnabled: true,
dropEnabled: false,
minThreshold: uint64(80000),
maxThreshold: math.MaxUint64,
maxThreshold: math.MaxUint32,
maxDropProbabilityPercent: uint8(1),
weight: uint32(0),
}
Expand Down Expand Up @@ -1653,7 +1653,7 @@ func testJuniperSchedulerPoliciesConfig(t *testing.T) {
ecnEnabled: true,
dropEnabled: false,
minThreshold: uint64(80000),
maxThreshold: math.MaxUint64,
maxThreshold: math.MaxUint32,
maxDropProbabilityPercent: uint8(1),
weight: uint32(0),
}
Expand Down

0 comments on commit dc081fc

Please sign in to comment.