sleep longer for travis

This commit is contained in:
Yusef Napora 2020-05-19 11:56:13 -04:00 committed by vyzo
parent ef50cbbdd7
commit 906c941b29

View File

@ -1172,7 +1172,7 @@ func TestGossipsubDirectPeers(t *testing.T) {
c.Close()
}
time.Sleep(3 * time.Second)
time.Sleep(5 * time.Second)
if len(h[1].Network().ConnsToPeer(h[2].ID())) == 0 {
t.Fatal("expected a connection between direct peers")