diff options
author | Florian Dold <florian@dold.me> | 2021-08-19 15:12:33 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-19 15:12:33 +0200 |
commit | c0e6b6d0f66508ebc8d33502d1281cb48a1c9cc6 (patch) | |
tree | e80d81ec1c13a24c73a00eb6f388d6db75b32c0c /packages/taler-wallet-cli | |
parent | defc393d6e320f6cc76df059a94936a7b88571a1 (diff) |
run pending operations at least once, style fixes
Diffstat (limited to 'packages/taler-wallet-cli')
3 files changed, 5 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index 796b6ae14..68e42bd08 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -1065,5 +1065,6 @@ export function main() { logger.warn("Allowing withdrawal of late denominations for debugging"); walletCoreDebugFlags.denomselAllowLate = true; } + logger.trace(`running wallet-cli with`, process.argv); walletCli.run(); } diff --git a/packages/taler-wallet-cli/src/integrationtests/harness.ts b/packages/taler-wallet-cli/src/integrationtests/harness.ts index c9c576ebc..305e46e5c 100644 --- a/packages/taler-wallet-cli/src/integrationtests/harness.ts +++ b/packages/taler-wallet-cli/src/integrationtests/harness.ts @@ -1620,6 +1620,7 @@ export class WalletCli { const self = this; this._client = { async call(op: any, payload: any): Promise<any> { + console.log("calling wallet with timetravel arg", self.timetravelArg); const resp = await sh( self.globalTestState, `wallet-${self.name}`, diff --git a/packages/taler-wallet-cli/src/integrationtests/test-timetravel-autorefresh.ts b/packages/taler-wallet-cli/src/integrationtests/test-timetravel-autorefresh.ts index bee7581bd..bad821198 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-timetravel-autorefresh.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-timetravel-autorefresh.ts @@ -62,6 +62,7 @@ async function applyTimeTravel( } if (s.wallet) { + console.log("setting wallet time travel to", timetravelDuration); s.wallet.setTimetravel(timetravelDuration); } } @@ -139,6 +140,7 @@ export async function runTimetravelAutorefreshTest(t: GlobalTestState) { // Travel into the future, the deposit expiration is two years // into the future. + console.log("applying first time travel"); await applyTimeTravel(durationFromSpec({ days: 400 }), { wallet, exchange, @@ -164,6 +166,7 @@ export async function runTimetravelAutorefreshTest(t: GlobalTestState) { // Travel into the future, the deposit expiration is two years // into the future. + console.log("applying second time travel"); await applyTimeTravel(durationFromSpec({ years: 2, months: 6 }), { wallet, exchange, |