projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 2005 fixed: removed the while true from K8sHelmBaseConnector._store_status
[osm/N2VC.git]
/
n2vc
/
tests
/
unit
/
test_k8s_helm3_conn.py
diff --git
a/n2vc/tests/unit/test_k8s_helm3_conn.py
b/n2vc/tests/unit/test_k8s_helm3_conn.py
index
d1b7903
..
201306f
100644
(file)
--- a/
n2vc/tests/unit/test_k8s_helm3_conn.py
+++ b/
n2vc/tests/unit/test_k8s_helm3_conn.py
@@
-206,8
+206,6
@@
class TestK8sHelm3Conn(asynctest.TestCase):
namespace=self.namespace,
db_dict=db_dict,
operation="install",
namespace=self.namespace,
db_dict=db_dict,
operation="install",
- run_once=True,
- check_every=0,
)
command = (
"env KUBECONFIG=./tmp/helm3_cluster_id/.kube/config /usr/bin/helm3 "
)
command = (
"env KUBECONFIG=./tmp/helm3_cluster_id/.kube/config /usr/bin/helm3 "
@@
-279,8
+277,6
@@
class TestK8sHelm3Conn(asynctest.TestCase):
namespace=self.namespace,
db_dict=db_dict,
operation="upgrade",
namespace=self.namespace,
db_dict=db_dict,
operation="upgrade",
- run_once=True,
- check_every=0,
)
command = (
"env KUBECONFIG=./tmp/helm3_cluster_id/.kube/config "
)
command = (
"env KUBECONFIG=./tmp/helm3_cluster_id/.kube/config "
@@
-373,8
+369,6
@@
class TestK8sHelm3Conn(asynctest.TestCase):
namespace=self.namespace,
db_dict=db_dict,
operation="scale",
namespace=self.namespace,
db_dict=db_dict,
operation="scale",
- run_once=True,
- check_every=0,
)
@asynctest.fail_on(active_handles=True)
)
@asynctest.fail_on(active_handles=True)
@@
-407,8
+401,6
@@
class TestK8sHelm3Conn(asynctest.TestCase):
namespace=self.namespace,
db_dict=db_dict,
operation="rollback",
namespace=self.namespace,
db_dict=db_dict,
operation="rollback",
- run_once=True,
- check_every=0,
)
command = (
"env KUBECONFIG=./tmp/helm3_cluster_id/.kube/config /usr/bin/helm3 "
)
command = (
"env KUBECONFIG=./tmp/helm3_cluster_id/.kube/config /usr/bin/helm3 "
@@
-612,8
+604,6
@@
class TestK8sHelm3Conn(asynctest.TestCase):
namespace=self.namespace,
db_dict=db_dict,
operation="install",
namespace=self.namespace,
db_dict=db_dict,
operation="install",
- run_once=True,
- check_every=0,
)
self.helm_conn._status_kdu.assert_called_once_with(
cluster_id=self.cluster_id,
)
self.helm_conn._status_kdu.assert_called_once_with(
cluster_id=self.cluster_id,