endojs / endo

Endo is a distributed secure JavaScript sandbox, based on SES
Apache License 2.0
804 stars 71 forks source link

daemon: Tests do not clean up after themselves #2125

Closed rekmarks closed 6 months ago

rekmarks commented 6 months ago

Tests leave dangling Node processes and temporary files behind, definitively on failure (expected or otherwise), and potentially on success as well. We should rewrite the test suite such that cleanup will always successfully occur.

rekmarks commented 6 months ago

We should try bumping ava to ^6, and potentially making use of some new features. Ref: https://github.com/avajs/ava/pull/3283

rekmarks commented 6 months ago

I am still observing dangling Node processes on my system after the ava@6 update, after both successful and failed runs. Going to try to fiddle with ava's teardown APIs next.