gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: fix bank invocation, skip tes


From: gnunet
Subject: [taler-wallet-core] branch master updated: fix bank invocation, skip tests when not present.
Date: Fri, 18 Sep 2020 19:15:58 +0200

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 0ff387c6 fix bank invocation, skip tests when not present.
0ff387c6 is described below

commit 0ff387c6f5aa5ecec5435acac331982c659c8b49
Author: MS <ms@taler.net>
AuthorDate: Fri Sep 18 19:15:20 2020 +0200

    fix bank invocation, skip tests when not present.
---
 package.json                                   | 2 +-
 packages/taler-integrationtests/src/harness.ts | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 7d0bc7f4..1f5c0178 100644
--- a/package.json
+++ b/package.json
@@ -4,6 +4,6 @@
     "compile": "pnpm run --filter '{packages}' compile",
     "clean": "pnpm run --filter '{packages}' clean",
     "pretty": "pnpm run --filter '{packages}' pretty",
-    "check": "pnpm run --filter '{packages}' test"
+    "check": "pnpm run --filter '{packages}' --if-present test"
   }
 }
diff --git a/packages/taler-integrationtests/src/harness.ts 
b/packages/taler-integrationtests/src/harness.ts
index a25ee90b..bb9e4212 100644
--- a/packages/taler-integrationtests/src/harness.ts
+++ b/packages/taler-integrationtests/src/harness.ts
@@ -642,6 +642,7 @@ export class BankService implements BankServiceInterface {
     config.setString("taler", "currency", bc.currency);
     config.setString("bank", "database", bc.database);
     config.setString("bank", "http_port", `${bc.httpPort}`);
+    config.setString("bank", "serve", "http");
     config.setString("bank", "max_debt_bank", `${bc.currency}:999999`);
     config.setString("bank", "max_debt", bc.maxDebt ?? `${bc.currency}:100`);
     config.setString(
@@ -716,7 +717,7 @@ export class BankService implements BankServiceInterface {
   async start(): Promise<void> {
     this.proc = this.globalTestState.spawnService(
       "taler-bank-manage",
-      ["-c", this.configFile, "serve-http"],
+      ["-c", this.configFile, "serve"],
       "bank",
     );
   }

-- 
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]