Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Commit

Permalink
fix loan.auction.history test to be more deterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh committed Jan 31, 2022
1 parent 91a91b2 commit 722eb97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/module.api/loan.auction.history.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ beforeAll(async () => {
await tGroup.waitForSync()

const height = await alice.container.call('getblockcount')
await waitForIndexedHeight(app, height - 1)
await alice.generate(1)
await waitForIndexedHeight(app, height)
})

afterAll(async () => {
Expand Down

0 comments on commit 722eb97

Please sign in to comment.