aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-10 19:47:59 +0100
committerFlorian Dold <florian@dold.me>2023-02-10 19:47:59 +0100
commit16408595945b83dcc8dc773cc5c1c84eb36ecb2b (patch)
tree938850d1aa051b5b83a0f65172ee70b7bdf72aca /packages/taler-harness/src/integrationtests
parent8d008641a02c4bc0637b514b55fa414d420b8591 (diff)
downloadwallet-core-16408595945b83dcc8dc773cc5c1c84eb36ecb2b.tar.xz
taler-wallet-cli: stop wallet properly
Diffstat (limited to 'packages/taler-harness/src/integrationtests')
-rw-r--r--packages/taler-harness/src/integrationtests/test-withdrawal-manual.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-withdrawal-manual.ts b/packages/taler-harness/src/integrationtests/test-withdrawal-manual.ts
index 10b2e5f44..d28ecc91c 100644
--- a/packages/taler-harness/src/integrationtests/test-withdrawal-manual.ts
+++ b/packages/taler-harness/src/integrationtests/test-withdrawal-manual.ts
@@ -21,9 +21,11 @@ import { GlobalTestState } from "../harness/harness.js";
import { createSimpleTestkudosEnvironment } from "../harness/helpers.js";
import { WalletApiOperation, BankApi } from "@gnu-taler/taler-wallet-core";
import {
- AbsoluteTime,
+ AbsoluteTime, j2s, Logger,
} from "@gnu-taler/taler-util";
+const logger = new Logger("test-withdrawal-manual.ts");
+
/**
* Run test for basic, bank-integrated withdrawal.
*/
@@ -43,7 +45,9 @@ export async function runWithdrawalManualTest(t: GlobalTestState) {
const tStart = AbsoluteTime.now();
+ logger.info("starting AcceptManualWithdrawal request");
// We expect this to return immediately.
+
const wres = await wallet.client.call(
WalletApiOperation.AcceptManualWithdrawal,
{
@@ -52,6 +56,9 @@ export async function runWithdrawalManualTest(t: GlobalTestState) {
},
);
+ logger.info("AcceptManualWithdrawal finished");
+ logger.info(`result: ${j2s(wres)}`);
+
// Check that the request did not go into long-polling.
const duration = AbsoluteTime.difference(tStart, AbsoluteTime.now());
if (duration.d_ms > 5 * 1000) {