aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-01-11 00:46:28 +0100
committerFlorian Dold <florian@dold.me>2021-01-11 00:46:28 +0100
commita10f9650b27d43481992885435ed225c068f7ca9 (patch)
tree6099a475b94e87772f5ea7bd1e57af3bc0a319cb
parent270d84d611792ee3a9764e58321f0139e60ea3ec (diff)
integration test: drop less responses
-rw-r--r--packages/taler-integrationtests/src/test-payment-fault.ts4
1 files 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
index 8a8678a21..ca31e8eeb 100644
--- 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;
}