Skip to content

Commit 846c925

Browse files
committed
Fix type mismatch in QoS queue management profile thresholds.
1 parent a71d196 commit 846c925

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

feature/qos/otg_tests/qos_basic_test/qos_basic_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,9 +1429,9 @@ func ConfigureJuniperQos(t *testing.T, dut *ondatra.DUTDevice) {
14291429

14301430
profileName := string("ECNProfile")
14311431
ecnEnabled := bool(true)
1432-
minThresholdPercent := uint64(1)
1433-
maxThresholdPercent := uint64(2)
1434-
maxDropProbabilityPercent := uint8(25)
1432+
const minThresholdPercent = 1
1433+
const maxThresholdPercent = 2
1434+
const maxDropProbabilityPercent = 25
14351435

14361436
queueMgmtProfile := q.GetOrCreateQueueManagementProfile(profileName)
14371437
queueMgmtProfile.SetName(profileName)

0 commit comments

Comments
 (0)