gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: add DB migration test data an


From: gnunet
Subject: [taler-wallet-core] branch master updated: add DB migration test data and check-migration target
Date: Mon, 29 Jan 2024 12:30:39 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new c94eb279a add DB migration test data and check-migration target
c94eb279a is described below

commit c94eb279ac11a0d34a2c6f73ce62fff60c4d3192
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Jan 29 12:30:37 2024 +0100

    add DB migration test data and check-migration target
---
 .gitmodules                         | 3 +++
 Makefile                            | 4 ++++
 contrib/wallet-testdata             | 1 +
 packages/taler-harness/src/index.ts | 2 ++
 4 files changed, 10 insertions(+)

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
diff --git a/Makefile b/Makefile
index 4f65ccd61..4cecfd7a8 100644
--- 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
new file mode 160000
index 000000000..7ca3d9b47
--- /dev/null
+++ 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
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`;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]