algorand / algorand-sdk-testing

Testing framework for Algorand SDKs
MIT License
20 stars 35 forks source link

Improve indexer sync method #309

Closed jasonpaulos closed 6 months ago

jasonpaulos commented 7 months ago

Starting recently (at least, more often recently), cucumber integration tests have been failing when the scenario submits a txn to algod, then expects to see the result from indexer.

This has been a problem before, and to attempt to remedy it we introduced the And I sleep for 1000 milliseconds for indexer to digest things down. step.

That hasn't been working lately, so I chose to change this to a different step, And I wait for indexer to catch up to the round where my most recent transaction was confirmed., which should be more reliable.

The new step requires implementation in each SDK