Rather a file descriptor leak; the listener in DefaultStepContext gets notified asynchronously, so not fast enough to close the log files from completed steps.
Also a failure to ever remove the listener results in a quadratic slowdown. With that fixed, the insertion of
sleep unit: 'MILLISECONDS', time: 1
inside the loop lets it work, but without that extra pause the notifications just pile up undelivered and the error occurs.
|