Skip to content

Commit

Permalink
Update RT-5.6 to change link down on port1 instead of all ports (open…
Browse files Browse the repository at this point in the history
  • Loading branch information
ANISH-GOTTAPU authored Dec 18, 2024
1 parent b0a6946 commit 7fdbb6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func TestInterfaceLoopbackMode(t *testing.T) {

cs := gosnappi.NewControlState()
t.Run("Admin down OTG port1", func(t *testing.T) {
cs.Port().Link().SetState(gosnappi.StatePortLinkState.DOWN)
cs.Port().Link().SetPortNames([]string{ate.Port(t, "port1").ID()}).SetState(gosnappi.StatePortLinkState.DOWN)
otg.SetControlState(t, cs)
})

Expand Down

0 comments on commit 7fdbb6e

Please sign in to comment.