Bug 2007 fixed: removed the while true from K8sHelmBaseConnector._store_status 27/11927/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:10 +0000 (10:31 +0200)
commit3356a40f29556194e6116396226c166997322cfb
tree16192d98a3f72aaa4417dced16f40936dfc1b1ea
parent2a10e43076ffb8cf44a5a1a617028a56d8e1e6e2
Bug 2007 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