indexer icon indicating copy to clipboard operation
indexer copied to clipboard

Add a Transaction Check to the CI pipeline

Open winder opened this issue 4 years ago • 1 comments

Summary

Sandbox is by far the easiest way to test different version combinations of Indexer and algod. We should create a nightly integration test to compare different versions of Indexer and algod to give us early warnings of integration problems.

Add testing to the existing CI pipeline to check the interoperability of the tests. Travis already runs ./sandbox up -v $CONFIG This already includes some testing capabilities, now we want to make sure to test that a transaction created can be queried from indexer.

Notes: https://docs.google.com/document/d/1rXrXjoB0hA96QKY4Q8mis-w1XNsfGdIhuO9TwbQmcbA/edit?usp=sharing

Scope/Requirements

Add a check in Travis similar to:

./sandbox up -v $CONFIG
./sandbox goal clerk send -a 123456789 -f NBAPT5DKPJADRJ7X6JA6ZJQPNZDK32ZRWZXNF7ZQQRICMHTQSNU6EGEP5I -t PRH4G6XAGSR5G7FIFHGD54E6J7VXTQGK76YDX2NZ64HXRN67GKIZUM6DYA
>> Outputs a transaction ID {TRANSACTION_ID}
curl "localhost:8980/v2/transactions/{TRANSACTION_ID}?pretty"
>> Outputs a JSON of the transaction

We should convert this check over to CircleCI

Urgency/Relative Priority

This is pretty urgent. It would have caught the current beta net indexer stall 2 weeks before the actual stall.

winder avatar Feb 18 '21 14:02 winder

This could be added to go-algorand as an PR integration te st. Start sandbox pointing at the PR branch and see if it's compatible with the sandbox dev branch.

winder avatar Jul 06 '21 16:07 winder