Skip to content

Commit

Permalink
wait for indexer to catchup
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Sep 6, 2024
1 parent f97c93a commit 41ecec3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_multiple_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ def test_multiple_filters_with_indexer() -> None:
tx_ids22 = send_x_transactions(1, senders[1], algorand)["tx_ids"]
tx_ids33 = send_x_transactions(1, senders[2], algorand)["tx_ids"]
last_txn_round = send_x_transactions(1, generate_account(algorand), algorand)["last_txn_round"]
time.sleep(1)
while True:
try:
algorand.client.indexer.block_info(last_txn_round)
break
except Exception:
time.sleep(1)

subscribed = get_subscribed_transactions_for_test({
"filters": [{
Expand Down

0 comments on commit 41ecec3

Please sign in to comment.