Skip to content

Commit

Permalink
test: reduce time.Sleep() between mock blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
altergui committed Oct 17, 2023
1 parent ae4ff91 commit f1e1dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vochain/apptest.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (app *BaseApplication) AdvanceTestBlock() {
}
// The next block begins 50ms later
newHeight := app.testMockBlockStore.EndBlock()
time.Sleep(time.Millisecond * 50)
time.Sleep(time.Microsecond * 50)
nextStartTime := time.Now()
app.testMockBlockStore.NewBlock(newHeight)
app.beginBlock(nextStartTime, uint32(newHeight))
Expand Down

0 comments on commit f1e1dc3

Please sign in to comment.