Closed ishantiw closed 5 years ago
Integration tests are failing randomly in p2p.
For partial network test, the value of ackTimeout and connectTimeout was very low (100ms) and sometimes it was not enough time to connect with other nodes if the network is a bit slow. We have increased the timeouts to 1000ms.
ackTimeout
connectTimeout
npm t
Now its throwing,
@liskhq/lisk-p2p: ResponseAlreadySentError: A response has already been sent for this request
when running network test locally. I'm looking into it.
What was the problem?
Integration tests are failing randomly in p2p.
How did I fix it?
For partial network test, the value of
ackTimeout
andconnectTimeout
was very low (100ms) and sometimes it was not enough time to connect with other nodes if the network is a bit slow. We have increased the timeouts to 1000ms.How to test it?
npm t
Review checklist