bottlerocket-os / bottlerocket-ecs-updater

A service to automatically manage Bottlerocket updates in an Amazon ECS cluster.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add unit test for `filterAvailableUpdates`

WilboMo opened this issue · comments

What I'd like:
filterAvailableUpdates calls a number of functions which are covered by unit tests, however, the method itself is not currently tested. A test case should be added to validate the method's return values under a variety of scenarios such as success, failure and partial success (if applicable).

Any alternatives you've considered:
N/A