hyperledger-labs / Scorex

Scorex 2.0 Core
Apache License 2.0
543 stars 115 forks source link

Fixing "too many open files" error in tests #365

Closed kushti closed 4 years ago

kushti commented 4 years ago

Currently "too many open files" error appears in tests. The error is rooting in how recursive deletion is implemented in scorex.testkit.utils.FileUtils.remove(). This PR fixes the problematic recursive files deletion.

The fix is made by @knizhnik and extracted from the #362 .

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 46.984% when pulling 97c0a07748be8c0265c92177e2b424d98f677d1a on toomany into 8ddf4af17cfb335abc431dfbe27abcf8f45cf9b5 on master.