Skip to content

Commit

Permalink
fix: remove duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
Juanadelacuesta committed Nov 13, 2024
1 parent 194d4e9 commit 2e99c71
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions e2e/scaling/scaling.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,6 @@ func (tc *ScalingE2ETest) TestScalingBasicWithSystemSchedule(f *framework.F) {
stopedAllocs, _, err := jobs.Allocations(jobID, false, nil)
f.NoError(err)

stopedAllocs, _, err = jobs.Allocations(jobID, false, nil)
f.NoError(err)

f.Equal(numberOfNodes, len(filterAllocsByDesiredStatus(structs.AllocDesiredStatusStop, stopedAllocs)))
f.Equal(numberOfNodes, len(stopedAllocs))

Expand Down

0 comments on commit 2e99c71

Please sign in to comment.