Skip to content

Commit

Permalink
test: update integration test to use round 12012 (#295)
Browse files Browse the repository at this point in the history
* test: add cache for fetched measurements

Nowadays, it takes ~50 seconds to fetch a batch of measurements.
This makes re-running the integration test way too slow.

In this change, I am adding `fetchMeasurementsWithCache` to cache
the measurements on subsequent runs.

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>

* test: update integration test to use round 12012

We need a more recent round for which the spark-api endpoint returns
"startEpoch" so that we can obtain the DRAND beacon.

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>

---------

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
  • Loading branch information
bajtos authored Jul 30, 2024
1 parent 53c7923 commit b35b395
Showing 1 changed file with 245 additions and 217 deletions.
Loading

0 comments on commit b35b395

Please sign in to comment.