Bug 2005 fixed: removed the while true from K8sHelmBaseConnector._store_status 25/11925/3
authorPedro Escaleira <escaleira@av.it.pt>
Sat, 23 Apr 2022 18:55:45 +0000 (19:55 +0100)
committergarciadav <david.garcia@canonical.com>
Tue, 21 Jun 2022 08:30:25 +0000 (10:30 +0200)
commitb46f88d2ce319c7661dc6064c8c76d020e314fb6
tree584d5df9289edbae00ea7a7b9a6aafc25cede894
parent764d8664333e7a6f16353bc8f578c5681f66433f
Bug 2005 fixed: removed the while true from K8sHelmBaseConnector._store_status

Made the necessary refactor and fixed the tests accordingly. Now, the
`_store_status` method is not executed forever, it is only executed once
each time is called.

Change-Id: Ia96ab3152fe7f838d1b81dd02c2d22373b805f4a
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
n2vc/k8s_conn.py
n2vc/k8s_helm_base_conn.py
n2vc/tests/unit/test_k8s_helm3_conn.py
n2vc/tests/unit/test_k8s_helm_conn.py