algorand / algorand/algorand-sdk-testing

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

Offen
#237 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Team Scytale
Vorherrschende Sprache
Gherkin
Sterne
21
Forks
35
Ø Merge
15 Min.
Gemergte PRs (30 T.)
1

Beschreibung

## 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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.