iri
iri copied to clipboard
Regression tests for import and export of the spent-addresses-db
Description
We want a regression test for both the spent-addresses-db
import and export scenarios mapped in #1450 and 1462.
Motivation
Ensure the IXI scenarios aren't broken.
Issues / Scenarios
Export
- I take a node with a spent-addresses-db
- I use IXI to export the DB
- A
spentaddresses.txt
file is created according to #1450
Import
- I run a node
- I take the export from multiple nodes created by the export scenario
- I run an IXI specifying the files to import
- The
spent-addresses-db
on the node from which I ran the IXI consumes the files and itsspent-addressses-db
is populated by the addresses in there.
We currently have the iri ls-sa merger tool. We need to think after the release of 1.9.0 how we want to test it