commit c94eb279ac11a0d34a2c6f73ce62fff60c4d3192
parent 64e340541ffcf10df4ef6400232c423aaecf81b9
Author: Florian Dold <florian@dold.me>
Date: Mon, 29 Jan 2024 12:30:37 +0100
add DB migration test data and check-migration target
Diffstat:
4 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/.gitmodules b/.gitmodules
@@ -4,3 +4,6 @@
[submodule "vendor"]
path = vendor
url = https://git.taler.net/node-vendor.git
+[submodule "contrib/wallet-testdata"]
+ path = contrib/wallet-testdata
+ url = https://git.taler.net/wallet-testdata.git
diff --git a/Makefile b/Makefile
@@ -162,3 +162,7 @@ install-tools:
$(MAKE) -C packages/anastasis-cli install-nodeps
$(MAKE) -C packages/taler-harness install-nodeps
+.PHONY: check-migration
+
+check-migration:
+ taler-harness advanced wallet-dbcheck contrib/wallet-testdata/wallet-dbgen-0.9.4-dev.8
diff --git a/contrib/wallet-testdata b/contrib/wallet-testdata
@@ -0,0 +1 @@
+Subproject commit 7ca3d9b4751cbd513b3a45dfa9e337d4c5980ea1
diff --git a/packages/taler-harness/src/index.ts b/packages/taler-harness/src/index.ts
@@ -250,6 +250,8 @@ advancedCli
persistent: false,
});
+ await freshWalletService.pingUntilAvailable();
+
// Check that we can still import the backup JSON.
const backupPath = `${indir}/wallet-backup.json`;