Skip to content

Commit

Permalink
Remove NetMQ support of BoundPeerExtensionsTest
Browse files Browse the repository at this point in the history
  • Loading branch information
limebell committed Jun 24, 2021
1 parent be75178 commit 4bf9de7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion Libplanet.Tests/Net/Transports/BoundPeerExtensionsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ namespace Libplanet.Tests.Net.Transports
public class BoundPeerExtensionsTest
{
[Theory(Timeout = 60 * 1000)]
[InlineData(SwarmOptions.TransportType.NetMQTransport)]
[InlineData(SwarmOptions.TransportType.TcpTransport)]
public async Task QueryAppProtocolVersion(SwarmOptions.TransportType transportType)
{
Expand Down
8 changes: 7 additions & 1 deletion Libplanet.Tests/Net/Transports/NetMQTransportTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
using Libplanet.Net.Messages;
using Libplanet.Net.Protocols;
using Libplanet.Net.Transports;
using NetMQ;
using Nito.AsyncEx;
using Serilog;
using Xunit;
using Xunit.Abstractions;

namespace Libplanet.Tests.Net.Transports
{
public class NetMQTransportTest : TransportTest
public class NetMQTransportTest : TransportTest, IDisposable
{
public NetMQTransportTest(ITestOutputHelper testOutputHelper)
{
Expand Down Expand Up @@ -54,6 +55,11 @@ public NetMQTransportTest(ITestOutputHelper testOutputHelper)
Logger = Log.ForContext<NetMQTransportTest>();
}

public void Dispose()
{
NetMQConfig.Cleanup(false);
}

[SkippableFact(Timeout = Timeout, Skip = "Target method is broken.")]
public async Task MessageHistory()
{
Expand Down

0 comments on commit 4bf9de7

Please sign in to comment.