Skip to content

Commit

Permalink
update ZR tests (openconfig#3055)
Browse files Browse the repository at this point in the history
  • Loading branch information
prinikasn authored Jun 6, 2024
1 parent c4120e3 commit 30c0072
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ func TestZrSupplyVoltage(t *testing.T) {

volInstNew := verifyVoltageValue(t, streamInst, "Instant")
t.Logf("Port %s instant voltage after port down: %v", dp.Name(), volInstNew)

// Enable interface again.
i.Enabled = ygot.Bool(true)
gnmi.Replace(t, dut, gnmi.OC().Interface(dp.Name()).Config(), i)
// Wait for the cooling off period
gnmi.Await(t, dut, gnmi.OC().Interface(dp.Name()).OperStatus().State(), intUpdateTime, oc.Interface_OperStatus_UP)
})
}
}

0 comments on commit 30c0072

Please sign in to comment.