diff --git a/p2p/simulations/http_test.go b/p2p/simulations/http_test.go index 7bdbad1b53..da43476431 100644 --- a/p2p/simulations/http_test.go +++ b/p2p/simulations/http_test.go @@ -605,6 +605,7 @@ func TestHTTPSnapshot(t *testing.T) { if err := client.ConnectNode(nodes[0].ID, nodes[1].ID); err != nil { t.Fatalf("error connecting nodes: %s", err) } + time.Sleep(time.Second) // store some state in the test services states := make([]string, nodeCount)