Skip to content

Commit 949d3df

Browse files
committed
update
1 parent bcc1447 commit 949d3df

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

feature/policy_forwarding/otg_tests/match_dscp_indirect_next_hop/match_dscp_indirect_next_hop_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,16 +138,14 @@ type ipAddr struct {
138138
func configureHardwareInit(t *testing.T, dut *ondatra.DUTDevice) {
139139
t.Helper()
140140
hardwarePfCfg := cfgplugins.NewDUTHardwareInit(t, dut, cfgplugins.FeaturePolicyForwarding)
141-
if hardwarePfCfg == "" {
142-
return
143-
}
144141
cfgplugins.PushDUTHardwareInitConfig(t, dut, hardwarePfCfg)
145142
}
146143

147144
// configureDUT configures all the interfaces and BGP on the DUT.
148145
func configureDUT(t *testing.T, dut *ondatra.DUTDevice) {
149146
dc := gnmi.OC()
150147

148+
t.Log("Configuring DUT hardware profile for Policy Forwarding")
151149
configureHardwareInit(t, dut)
152150

153151
for _, portAttr := range []attrs.Attributes{dutP1, dutP2, dutP3} {

0 commit comments

Comments
 (0)