Commit 0538806b authored by vyzo's avatar vyzo

fix TestConnectednessCorrect

we might get more connections because simultaneous dials can succeed
and we have both TCP and QUIC addrs by default
parent b67b7360
......@@ -57,8 +57,8 @@ func TestConnectednessCorrect(t *testing.T) {
t.Fatal("expected net 0 to have two peers")
}
if len(nets[2].Conns()) != 2 {
t.Fatal("expected net 2 to have two conns")
if len(nets[2].Peers()) != 2 {
t.Fatal("expected net 2 to have two peers")
}
if len(nets[1].ConnsToPeer(nets[3].LocalPeer())) != 0 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment