Skip to content

Commit

Permalink
Remove ensuring connection from test
Browse files Browse the repository at this point in the history
  • Loading branch information
limebell committed Nov 19, 2019
1 parent 2dbf8a1 commit f212328
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Libplanet.Tests/Net/Protocols/ProtocolTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Libplanet.Crypto;
using Libplanet.Net;
Expand Down Expand Up @@ -142,11 +141,6 @@ public async Task BroadcastMessage(int count)
await swarm.BootstrapAsync(new[] { seed.AsPeer });
}

foreach (var swarm in swarms)
{
await swarm.Protocol.RebuildConnectionAsync(default(CancellationToken));
}

Log.Debug("Bootstrap completed.");

seed.BroadcastTestMessage("foo");
Expand Down

0 comments on commit f212328

Please sign in to comment.