diff options
author | Florian Dold <florian@dold.me> | 2024-01-29 12:30:37 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-01-29 12:30:37 +0100 |
commit | c94eb279ac11a0d34a2c6f73ce62fff60c4d3192 (patch) | |
tree | 1a75fde17485a9824f089f3bc21ff707ea46ee68 | |
parent | 64e340541ffcf10df4ef6400232c423aaecf81b9 (diff) |
add DB migration test data and check-migration target
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | Makefile | 4 | ||||
m--------- | contrib/wallet-testdata | 0 | ||||
-rw-r--r-- | packages/taler-harness/src/index.ts | 2 |
4 files changed, 9 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index 7cde9e53d..e96bbcfc1 100644 --- 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 @@ -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 new file mode 160000 +Subproject 7ca3d9b4751cbd513b3a45dfa9e337d4c5980ea diff --git a/packages/taler-harness/src/index.ts b/packages/taler-harness/src/index.ts index 787ea1933..889fbe4ca 100644 --- 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`; |