Skip to content

Commit

Permalink
Rename initializeVUs to populateVUs
Browse files Browse the repository at this point in the history
  • Loading branch information
inancgumus committed Oct 4, 2021
1 parent 3a11293 commit 9d1900b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/executor/ramping_vus.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ func (vlv RampingVUs) Run(ctx context.Context, _ chan<- stats.SampleContainer, _
go trackProgress(ctx, maxDurCtx, regDurCtx, vlv, progressFn)

defer runState.wg.Wait()
runState.initializeVUs(maxDurCtx, cancel)
runState.populateVUs(maxDurCtx, cancel)
for i := uint64(0); i < runState.maxVUs; i++ {
go runState.vuHandles[i].runLoopsIfPossible(runState.runIteration)
}
Expand Down Expand Up @@ -580,7 +580,7 @@ func (rs rampingVUsRunState) makeProgressFn(total time.Duration) (progressFn fun
}
}

func (rs rampingVUsRunState) initializeVUs(ctx context.Context, cancel func()) {
func (rs rampingVUsRunState) populateVUs(ctx context.Context, cancel func()) {
getVU := func() (lib.InitializedVU, error) {
pvu, err := rs.executor.executionState.GetPlannedVU(rs.executor.logger, false)
if err != nil {
Expand Down

0 comments on commit 9d1900b

Please sign in to comment.