commit a10f9650b27d43481992885435ed225c068f7ca9 parent 270d84d611792ee3a9764e58321f0139e60ea3ec Author: Florian Dold <florian@dold.me> Date: Mon, 11 Jan 2021 00:46:28 +0100 integration test: drop less responses Diffstat:
| M | packages/taler-integrationtests/src/test-payment-fault.ts | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/taler-integrationtests/src/test-payment-fault.ts b/packages/taler-integrationtests/src/test-payment-fault.ts @@ -179,11 +179,11 @@ runTest(async (t: GlobalTestState) => { await wallet.runPending(); - // Drop 10 responses from the exchange. + // Drop 3 responses from the exchange. let faultCount = 0; faultyExchange.faultProxy.addFault({ modifyResponse(ctx: FaultInjectionResponseContext) { - if (faultCount < 10) { + if (faultCount < 3) { faultCount++; ctx.dropResponse = true; }