Skip to content

Commit

Permalink
stop timer
Browse files Browse the repository at this point in the history
  • Loading branch information
lalexgap committed Oct 21, 2022
1 parent c058f0a commit 61bd560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/virtual-payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func CreateVirtualPaymentTest(runEnv *runtime.RunEnv, init *run.InitContext) err

// Run the job(s)
utils.RunJobs(createVirtualPaymentsJob, runConfig.PaymentTestDuration, int64(runConfig.ConcurrentPaymentJobs))

runEnv.R().Timer(fmt.Sprintf("time_to_first_payment,me=%s", me.Address)).Stop()
toSleep := runConfig.GetSleepDuration()
runEnv.RecordMessage("Waiting %s before closing ledger channels", toSleep)
time.Sleep(toSleep)
Expand Down

0 comments on commit 61bd560

Please sign in to comment.