Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
limebell committed Jun 24, 2021
1 parent 87f4f72 commit c7d5640
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion Libplanet.Tests/Net/Transports/TransportTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public async void RestartAsync()
}

[SkippableFact(Timeout = Timeout)]
public async void Dispose()
public async void DisposeTest()
{
ITransport transport = CreateTransport();

Expand Down

0 comments on commit c7d5640

Please sign in to comment.