planetarium / libplanet

Blockchain in C#/.NET for on-chain, decentralized gaming
https://docs.libplanet.io/
GNU Lesser General Public License v2.1
506 stars 142 forks source link

SwarmTest.CanBroadcastWhlieMining test fails with IOException on Windows #148

Closed dahlia closed 5 years ago

dahlia commented 5 years ago

See also https://travis-ci.com/dahlia/libplanet/jobs/187118894#L2315-L2322.

    System.IO.IOException : The process cannot access the file 'index' because it is being used by another process.
    Stack Trace:
         at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
         at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
         at Libplanet.Tests.Store.FileStoreFixture.Dispose()
         at Libplanet.Tests.Net.SwarmTest.Dispose()
         at ReflectionAbstractionExtensions.DisposeTestClass(ITest test, Object testClass, IMessageBus messageBus, ExecutionTimer timer, CancellationTokenSource cancellationTokenSource)
dahlia commented 5 years ago

Another build: https://travis-ci.com/planetarium/libplanet/jobs/187184154#L2891-L2897.