Skip to content

Commit

Permalink
Validation fix (#3537)
Browse files Browse the repository at this point in the history
Co-authored-by: sezhang2 <[email protected]>
  • Loading branch information
charantejag504 and sezhang2 authored Dec 13, 2024
1 parent 39634bc commit dd4aecb
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1645,8 +1645,10 @@ func testJuniperSchedulerPoliciesConfig(t *testing.T) {
if got, want := gnmi.Get(t, dut, scheduler.Sequence().State()), tc.sequence; got != want {
t.Errorf("scheduler.Sequence().State(): got %v, want %v", got, want)
}
if got, want := gnmi.Get(t, dut, scheduler.Priority().State()), tc.priority; got != want {
t.Errorf("scheduler.Priority().State(): got %v, want %v", got, want)
if tc.priority == oc.Scheduler_Priority_STRICT {
if got, want := gnmi.Get(t, dut, scheduler.Priority().State()), tc.priority; got != want {
t.Errorf("scheduler.Priority().State(): got %v, want %v", got, want)
}
}
}

Expand Down

0 comments on commit dd4aecb

Please sign in to comment.