[#593] Fix testSmallDownloadAsync test

- Test was failling with:
generalError(message: "block not found in cache, should always be in cache in darkside mode")
- There was no wait so lightwalletd in darkside mode didn't have enough time to accept mocked state.
This commit is contained in:
Michal Fousek 2022-10-28 12:18:19 +02:00
parent cfe71d5da2
commit 02ee0a54ea
1 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,8 @@ class BlockDownloaderTests: XCTestCase {
try FakeChainBuilder.buildChain(darksideWallet: darksideWalletService, branchID: branchID, chainName: chainName)
try darksideWalletService.applyStaged(nextLatestHeight: 663250)
sleep(2)
}
override func tearDown() {