From 9dbfcd7525d605c97a84a076aeabe293967a406c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 26 Jun 2024 23:54:40 +0200 Subject: harness: logging, tag and comment test --- .../src/integrationtests/test-peer-pull-large.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'packages/taler-harness/src/integrationtests/test-peer-pull-large.ts') diff --git a/packages/taler-harness/src/integrationtests/test-peer-pull-large.ts b/packages/taler-harness/src/integrationtests/test-peer-pull-large.ts index 6de3c2e33..53a3c75f4 100644 --- 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 { + 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"]; -- cgit v1.2.3