f6d9f40b9a
Was create unit tests to cover the new auto_update logic. The new logic includes a new method called "_get_app_bundle_for_update" which takes into account different aspects of application metadata to figure out whether an app should be auto-updated. In addition to checking application version numbers, the unit tests cover different scenarios and code paths such as different minimum and maximum Kubernetes versions, whether auto_update is enabled and the update timing during k8s upgrades. Unit tests were also created for some more functions involved in the logic. Test plan: PASS: Run tox py39, pylint and verify that they are all passing. Story: 2010929 Task: 49892 Signed-off-by: David Bastos <david.barbosabastos@windriver.com> Change-Id: I44d798fe1d0e9883103745c32763894a35e445a2 |
||
---|---|---|
.. | ||
cert-alarm | ||
cert-mon | ||
cgts-client | ||
ipsec-auth | ||
sysinv | ||
sysinv-agent |