Closed limebell closed 4 years ago
Thanks for the report. It seems that NetMQSocket
can't be created because there are too many opened socket already. I'll check NetMQConfig.Cleanup()
in SwarmTest.Dispose()
.
During SwarmTest.Dispose()
, I think StopAsync()
should be applied to swarms that are running only.
if (s.Running)
{
s.StopAsync().Wait(DisposeTimeout);
}
I generated 20 swarms for each of 12 tests, exception occurs after passing 7 tests. All tests that failed throws following message.