X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=n2vc%2Ftests%2Funit%2Ftest_k8s_helm_conn.py;h=f43b24b529e8f99d6163a591083b9df8f8edea03;hb=2f0692e61e18466f6e7df3e580140f27cad396de;hp=5112363fb79fad9ade0028c6a6fa04d68e34378a;hpb=537d2939398ceeb510599cbf4393383044a99494;p=osm%2FN2VC.git diff --git a/n2vc/tests/unit/test_k8s_helm_conn.py b/n2vc/tests/unit/test_k8s_helm_conn.py index 5112363..f43b24b 100644 --- a/n2vc/tests/unit/test_k8s_helm_conn.py +++ b/n2vc/tests/unit/test_k8s_helm_conn.py @@ -226,7 +226,8 @@ class TestK8sHelmConn(asynctest.TestCase): ) command = ( "env KUBECONFIG=./tmp/helm_cluster_id/.kube/config /usr/bin/helm upgrade " - "--atomic --output yaml --timeout 300 stable-openldap-0005399828 stable/openldap --version 1.2.3" + "--atomic --output yaml --timeout 300 --reuse-values stable-openldap-0005399828 stable/openldap " + "--version 1.2.3" ) self.helm_conn._local_async_exec.assert_called_with( command=command, env=self.env, raise_exception_on_error=False @@ -281,7 +282,7 @@ class TestK8sHelmConn(asynctest.TestCase): command = ( "env KUBECONFIG=./tmp/helm_cluster_id/.kube/config " "/usr/bin/helm upgrade --atomic --output yaml --set replicaCount=2 " - "--timeout 1800s stable-openldap-0005399828 stable/openldap " + "--timeout 1800 --reuse-values stable-openldap-0005399828 stable/openldap " "--version 1.2.3" ) self.helm_conn._local_async_exec.assert_called_once_with( @@ -301,7 +302,7 @@ class TestK8sHelmConn(asynctest.TestCase): command = ( "env KUBECONFIG=./tmp/helm_cluster_id/.kube/config " "/usr/bin/helm upgrade --atomic --output yaml --set dummy-app.replicas=3 " - "--timeout 1800s stable-openldap-0005399828 stable/openldap " + "--timeout 1800 --reuse-values stable-openldap-0005399828 stable/openldap " "--version 1.2.3" ) self.helm_conn._local_async_exec.assert_called_with(