fix test.

This commit is contained in:
Raúl Kripalani 2021-06-14 00:13:15 +01:00
parent f1ec0d6094
commit ac67e466ec

View File

@ -87,11 +87,11 @@ func (ts *apiSuite) testConnectTwo(t *testing.T) {
peers, err := one.NetPeers(ctx)
require.NoError(t, err)
require.Lenf(t, peers, 1, "node one doesn't have 1 peer")
require.Lenf(t, peers, 2, "node one doesn't have 2 peers")
peers, err = two.NetPeers(ctx)
require.NoError(t, err)
require.Lenf(t, peers, 1, "node two doesn't have 1 peer")
require.Lenf(t, peers, 2, "node two doesn't have 2 peers")
}
func (ts *apiSuite) testSearchMsg(t *testing.T) {