integration test: drop less responses
This commit is contained in:
parent
270d84d611
commit
a10f9650b2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user