Search code examples
travis-ciava

Test exited due to SIGKILL


One of my ava tests has suddenly started failing on Travis CI, because it "exited due to SIGKILL". The first broken run can be found at https://travis-ci.org/freaktechnik/justintv-stream-notifications/builds/259734700#L471

The changes for that commit only affected modules loaded by that module and the tests still pass on my local machine. The change added another module to the hierarchy.

I'm wondering if the process could get killed due to too much memory use or similar, as I am using babel to precompile the tested files at ava runtime.


Solution

  • Limiting the amount of test files ava executes at once to 10 not only solved this problem, but also made the build a bit faster.