diff options
author | Florian Dold <florian@dold.me> | 2024-06-26 23:54:40 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-06-26 23:54:40 +0200 |
commit | 9dbfcd7525d605c97a84a076aeabe293967a406c (patch) | |
tree | a7f7adb159544cdd4709e19268621c03ead768ac /packages | |
parent | 48c46f144a6a59aa25c8670536cf116faf546298 (diff) | |
download | wallet-core-9dbfcd7525d605c97a84a076aeabe293967a406c.tar.xz |
harness: logging, tag and comment test
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-peer-pull-large.ts | 11 |
1 files changed, 10 insertions, 1 deletions
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<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"]; |