commit 9dbfcd7525d605c97a84a076aeabe293967a406c
parent 48c46f144a6a59aa25c8670536cf116faf546298
Author: Florian Dold <florian@dold.me>
Date: Wed, 26 Jun 2024 23:54:40 +0200
harness: logging, tag and comment test
Diffstat:
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/packages/taler-harness/src/integrationtests/test-peer-pull-large.ts b/packages/taler-harness/src/integrationtests/test-peer-pull-large.ts
@@ -62,6 +62,12 @@ const coinConfigList: CoinConfig[] = [
},
];
+/**
+ * Test peer pull payments with a large number of coins.
+ *
+ * Since we use an artificallly large number of coins, this
+ * test is a bit slower than other tests.
+ */
export async function runPeerPullLargeTest(t: GlobalTestState) {
// Set up test environment
@@ -102,6 +108,7 @@ async function checkNormalPeerPull(
wallet1: WalletClient,
wallet2: WalletClient,
): Promise<void> {
+ t.logStep("starting withdrawal");
const withdrawRes = await withdrawViaBankV2(t, {
walletClient: wallet2,
bank,
@@ -111,6 +118,8 @@ async function checkNormalPeerPull(
await withdrawRes.withdrawalFinishedCond;
+ t.logStep("finished withdrawal");
+
const purseExpiration = AbsoluteTime.toProtocolTimestamp(
AbsoluteTime.addDuration(
AbsoluteTime.now(),
@@ -191,4 +200,4 @@ async function checkNormalPeerPull(
console.log(`txn2: ${j2s(txn2)}`);
}
-runPeerPullLargeTest.suites = ["wallet"];
+runPeerPullLargeTest.suites = ["wallet", "slow"];