Skip to content

Commit

Permalink
Update qos_ecn_config_test.go (openconfig#1806)
Browse files Browse the repository at this point in the history
* Update qos_ecn_config_test.go

* Update qos_ecn_config_test.go

---------

Co-authored-by: guoshiuan <[email protected]>
  • Loading branch information
saarvind6481 and guoshiuan authored Jul 21, 2023
1 parent 9479b9a commit d8eda41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion feature/qos/tests/qos_ecn_config_test/qos_ecn_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ func testCiscoECNConfig(t *testing.T) {
}}
i := q.GetOrCreateInterface(dp.Name())
i.SetInterfaceId(dp.Name())
i.GetOrCreateInterfaceRef().Interface = ygot.String(dp.Name())
t.Logf("qos output interface config cases: %v", cases)

for _, tc := range intcases {
Expand All @@ -435,10 +436,11 @@ func testCiscoECNConfig(t *testing.T) {
queue := output.GetOrCreateQueue(tc.queueName)
queue.SetQueueManagementProfile(tc.ecnProfile)
queue.SetName(tc.queueName)
gnmi.Replace(t, dut, gnmi.OC().Qos().Config(), q)

})

}
gnmi.Replace(t, dut, gnmi.OC().Qos().Config(), q)

for _, tc := range cases {
// Verify the SchedulerPolicy is applied by checking the telemetry path state values.
Expand Down

0 comments on commit d8eda41

Please sign in to comment.