nox
nox copied to clipboard
Integration tests with p2p connectivity often hang
We have integration tests in aqua that go through 3-4 nodes. And it often hangs. If it hangs once, it will hang some long time later. I often use a bad option to avoid this - changing environment in tests. This is repeated in different networks and on different nodes. Something from the logs could not be understood. Aqua code:
func viaArr(node_id: string, viaAr: []string) -> Info:
on node_id via viaAr:
p <- Peer.identify()
<- p
in viaAr
were constantly used these nodes as arguments: relays[4].peerId, [relays[2].peerId, relays[1].peerId]
.
For krasnodar:
/dns4/kras-03.fluence.dev/tcp/19001/wss/p2p/12D3KooWJd3HaMJ1rpLY1kQvcjRPEvnDwcXrH8mJvk7ypcZXqXGE
/dns4/kras-01.fluence.dev/tcp/19001/wss/p2p/12D3KooWKnEqMfYo9zvfHmqTLpLdiHXPe4SVqUWcWHDJdFGrSmcA
/dns4/kras-00.fluence.dev/tcp/19001/wss/p2p/12D3KooWR4cv1a8tv7pps4HH6wePNaK6gf1Hww5wcCMzeWxyNw51
example in test https://github.com/fluencelabs/aqua/runs/5642846674?check_suite_focus=true