mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-27 06:39:31 +00:00
932a6f2997
Changes in the node engine related to streams would cause the gzip streams flush function to be called at the wrong times. The sinon fake timers were also interacting with this. We use setImmediate to call the flush function, and remove sinon timers for the logging tests. Change-type: patch Signed-off-by: Cameron Diver <cameron@balena.io>