forked from LBRYCommunity/lbry-sdk
fix db test stability
This commit is contained in:
parent
af797296ed
commit
7b0e4617d3
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ class TestQueries(AsyncioTestCase):
|
||||||
self.ledger.db.db.execute_fetchall = check_parameters_length
|
self.ledger.db.db.execute_fetchall = check_parameters_length
|
||||||
account = await self.create_account()
|
account = await self.create_account()
|
||||||
tx = await self.create_tx_from_nothing(account, 0)
|
tx = await self.create_tx_from_nothing(account, 0)
|
||||||
for height in range(1200):
|
for height in range(1, 1200):
|
||||||
tx = await self.create_tx_from_txo(tx.outputs[0], account, height=height)
|
tx = await self.create_tx_from_txo(tx.outputs[0], account, height=height)
|
||||||
variable_limit = self.ledger.db.MAX_QUERY_VARIABLES
|
variable_limit = self.ledger.db.MAX_QUERY_VARIABLES
|
||||||
for limit in range(variable_limit-2, variable_limit+2):
|
for limit in range(variable_limit-2, variable_limit+2):
|
||||||
|
|
Loading…
Add table
Reference in a new issue