aptos-labs / aptos-indexer-processors

Set of core processors that index data on the Aptos blockchain
https://aptos.dev/indexer/indexer-landing
60 stars 72 forks source link

Speed up tests by avoiding long lookups #596

Closed rtso closed 3 weeks ago

rtso commented 3 weeks ago

Description

Single transaction test should not need to lookup any data in the DB since it won't exist anyway. Lower the lookup retries and wait time to speed up the test.

Testing

Before

test sdk_tests::stake_processor_tests::tests::mainnet_stake_gov_record_txn has been running for over 60 seconds
test sdk_tests::stake_processor_tests::tests::mainnet_stake_pool_delegation_txn has been running for over 60 seconds

After cargo test runs fine

rtso commented 3 weeks ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rtso and the rest of your teammates on Graphite Graphite

rtso commented 3 weeks ago

Merge activity