diff options
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts b/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts index 583dba28d..bf0c7a78f 100644 --- a/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts +++ b/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts @@ -31,7 +31,6 @@ import { import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; import { GlobalTestState } from "../harness/harness.js"; import { - applyTimeTravelV2, createSimpleTestkudosEnvironmentV2, createWalletDaemonWithClient, withdrawViaBankV2, @@ -194,11 +193,19 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) { Duration.fromSpec({ days: 5 }), ); + console.log("stopping exchange to apply time-travel"); + await exchange.stop(); exchange.setTimetravel(timetravelOffsetMs); await exchange.start(); await exchange.pingUntilAvailable(); + console.log("running expire"); + await exchange.runExpireOnce(); + console.log("done running expire"); + + console.log("purse should now be expired"); + await w1.walletClient.call(WalletApiOperation.TestingSetTimetravel, { offsetMs: timetravelOffsetMs, }); |