algorand / algorand/algorand-sdk-testing

Investigation: Can we refactor indexer integration tests to be deterministic?

Aperta
#237 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Team Scytale
Lingua principale
Gherkin
Stelle
21
Fork
35
Merge medio
15m
PR unite (30g)
1

Descrizione

## Problem

Formerly a comment found in #192 :

> # A potential improvement space:
> # we can make this test determinstic (i.e., removing sleep for indexer) by waiting indexer to be at the same round of algod finishing all the box operations.
> # Once indexer has a round number at least as large as algod finishing box operations, the changes on boxes can be reflected in indexer side.

This is a useful improvement, and more generally, **full determinism** in integration tests would lead to easier test creation.

## Dependencies

None

## Urgency

Low - tests are working fine as they are currently designed.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.