gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: harness: run without throttli


From: gnunet
Subject: [taler-wallet-core] branch master updated: harness: run without throttling, make fakebank issue reproducible
Date: Fri, 10 Feb 2023 00:50:35 +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 c4180e129 harness: run without throttling, make fakebank issue 
reproducible
c4180e129 is described below

commit c4180e1290261c15d4c8cd081aec12252edf1939
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Feb 10 00:50:22 2023 +0100

    harness: run without throttling, make fakebank issue reproducible
---
 packages/taler-harness/src/harness/harness.ts                 | 10 +++++++++-
 .../src/integrationtests/test-withdrawal-huge.ts              |  2 --
 packages/taler-wallet-cli/src/index.ts                        | 11 ++---------
 3 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/packages/taler-harness/src/harness/harness.ts 
b/packages/taler-harness/src/harness/harness.ts
index b2c73c9ab..3403c266e 100644
--- a/packages/taler-harness/src/harness/harness.ts
+++ b/packages/taler-harness/src/harness/harness.ts
@@ -1940,7 +1940,15 @@ export class WalletService {
     const unixPath = this.socketPath;
     this.globalState.spawnService(
       "taler-wallet-cli",
-      ["--wallet-db", dbPath, "advanced", "serve", "--unix-path", unixPath],
+      [
+        "--wallet-db",
+        dbPath,
+        "--no-throttle", // FIXME: Optionally do throttling for some tests?
+        "advanced",
+        "serve",
+        "--unix-path",
+        unixPath,
+      ],
       `wallet-${this.opts.name}`,
     );
   }
diff --git 
a/packages/taler-harness/src/integrationtests/test-withdrawal-huge.ts 
b/packages/taler-harness/src/integrationtests/test-withdrawal-huge.ts
index 248931d71..579d727b1 100644
--- a/packages/taler-harness/src/integrationtests/test-withdrawal-huge.ts
+++ b/packages/taler-harness/src/integrationtests/test-withdrawal-huge.ts
@@ -93,8 +93,6 @@ export async function runWithdrawalHugeTest(t: 
GlobalTestState) {
     bank: bank.baseUrl,
   });
 
-  await exchange.runWirewatchOnce();
-
   await withdrawalFinishedCond;
 
   // Check balance
diff --git a/packages/taler-wallet-cli/src/index.ts 
b/packages/taler-wallet-cli/src/index.ts
index 1e0f1b5cb..48e98264d 100644
--- a/packages/taler-wallet-cli/src/index.ts
+++ b/packages/taler-wallet-cli/src/index.ts
@@ -24,7 +24,6 @@ import {
   clk,
   codecForList,
   codecForString,
-  CoreApiRequestEnvelope,
   CoreApiResponse,
   decodeCrock,
   encodeCrock,
@@ -39,12 +38,7 @@ import {
   TalerUriType,
   WalletNotification,
 } from "@gnu-taler/taler-util";
-import {
-  OpenedPromise,
-  openPromise,
-  TalerCryptoInterface,
-  TalerError,
-} from "@gnu-taler/taler-wallet-core";
+import { JsonMessage, runRpcServer } from "@gnu-taler/taler-util/twrpc";
 import {
   CryptoDispatcher,
   getDefaultNodeWallet,
@@ -55,12 +49,12 @@ import {
   NodeThreadCryptoWorkerFactory,
   summarizeTalerErrorDetail,
   SynchronousCryptoWorkerFactoryNode,
+  TalerCryptoInterface,
   Wallet,
   WalletApiOperation,
   WalletCoreApiClient,
   walletCoreDebugFlags,
 } from "@gnu-taler/taler-wallet-core";
-
 import {
   createRemoteWallet,
   getClientFromRemoteWallet,
@@ -68,7 +62,6 @@ import {
 } from "@gnu-taler/taler-wallet-core/remote";
 import fs from "fs";
 import os from "os";
-import { JsonMessage, runRpcServer } from "@gnu-taler/taler-util/twrpc";
 
 // This module also serves as the entry point for the crypto
 // thread worker, and thus must expose these two handlers.

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