Bug 2006 fixed: removed the while true from K8sHelmBaseConnector._store_status 26/11926/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:31:00 +0000 (10:31 +0200)
commit9971a39e8ea68b38700c7593af2155c72c160955
tree103a0ded206828867b390e0925c0cca6e2ffd2d1
parent9ff6d13ef40552de8acde099b9181ed488ab73b8
Bug 2006 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