harness: run without throttling, make fakebank issue reproducible
This commit is contained in:
parent
1a3040d872
commit
c4180e1290
@ -1940,7 +1940,15 @@ export class WalletService {
|
|||||||
const unixPath = this.socketPath;
|
const unixPath = this.socketPath;
|
||||||
this.globalState.spawnService(
|
this.globalState.spawnService(
|
||||||
"taler-wallet-cli",
|
"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}`,
|
`wallet-${this.opts.name}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -93,8 +93,6 @@ export async function runWithdrawalHugeTest(t: GlobalTestState) {
|
|||||||
bank: bank.baseUrl,
|
bank: bank.baseUrl,
|
||||||
});
|
});
|
||||||
|
|
||||||
await exchange.runWirewatchOnce();
|
|
||||||
|
|
||||||
await withdrawalFinishedCond;
|
await withdrawalFinishedCond;
|
||||||
|
|
||||||
// Check balance
|
// Check balance
|
||||||
|
@ -24,7 +24,6 @@ import {
|
|||||||
clk,
|
clk,
|
||||||
codecForList,
|
codecForList,
|
||||||
codecForString,
|
codecForString,
|
||||||
CoreApiRequestEnvelope,
|
|
||||||
CoreApiResponse,
|
CoreApiResponse,
|
||||||
decodeCrock,
|
decodeCrock,
|
||||||
encodeCrock,
|
encodeCrock,
|
||||||
@ -39,12 +38,7 @@ import {
|
|||||||
TalerUriType,
|
TalerUriType,
|
||||||
WalletNotification,
|
WalletNotification,
|
||||||
} from "@gnu-taler/taler-util";
|
} from "@gnu-taler/taler-util";
|
||||||
import {
|
import { JsonMessage, runRpcServer } from "@gnu-taler/taler-util/twrpc";
|
||||||
OpenedPromise,
|
|
||||||
openPromise,
|
|
||||||
TalerCryptoInterface,
|
|
||||||
TalerError,
|
|
||||||
} from "@gnu-taler/taler-wallet-core";
|
|
||||||
import {
|
import {
|
||||||
CryptoDispatcher,
|
CryptoDispatcher,
|
||||||
getDefaultNodeWallet,
|
getDefaultNodeWallet,
|
||||||
@ -55,12 +49,12 @@ import {
|
|||||||
NodeThreadCryptoWorkerFactory,
|
NodeThreadCryptoWorkerFactory,
|
||||||
summarizeTalerErrorDetail,
|
summarizeTalerErrorDetail,
|
||||||
SynchronousCryptoWorkerFactoryNode,
|
SynchronousCryptoWorkerFactoryNode,
|
||||||
|
TalerCryptoInterface,
|
||||||
Wallet,
|
Wallet,
|
||||||
WalletApiOperation,
|
WalletApiOperation,
|
||||||
WalletCoreApiClient,
|
WalletCoreApiClient,
|
||||||
walletCoreDebugFlags,
|
walletCoreDebugFlags,
|
||||||
} from "@gnu-taler/taler-wallet-core";
|
} from "@gnu-taler/taler-wallet-core";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
createRemoteWallet,
|
createRemoteWallet,
|
||||||
getClientFromRemoteWallet,
|
getClientFromRemoteWallet,
|
||||||
@ -68,7 +62,6 @@ import {
|
|||||||
} from "@gnu-taler/taler-wallet-core/remote";
|
} from "@gnu-taler/taler-wallet-core/remote";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import os from "os";
|
import os from "os";
|
||||||
import { JsonMessage, runRpcServer } from "@gnu-taler/taler-util/twrpc";
|
|
||||||
|
|
||||||
// This module also serves as the entry point for the crypto
|
// This module also serves as the entry point for the crypto
|
||||||
// thread worker, and thus must expose these two handlers.
|
// thread worker, and thus must expose these two handlers.
|
||||||
|
Loading…
Reference in New Issue
Block a user