terascope / teraslice

Scalable data processing pipelines in JavaScript
https://terascope.github.io/teraslice/
Apache License 2.0
50 stars 13 forks source link

Consider node version when calling deleteOlderAssets() in e2e #3583

Closed busma13 closed 3 months ago

busma13 commented 3 months ago

When e2e tests download the latest version of default assets to autoload, the deleteOlderAssets function would run. The node version was not being checked, resulting in all duplicate assets with the same version being erased, regardless of node version.

This function will now delete all autoload files that do not match the teraslice node version before checking for older asset versions.

Ref: #3556