diff options
author | Jack Lucas <jflucas@research.att.com> | 2019-03-05 11:43:01 -0500 |
---|---|---|
committer | Jack Lucas <jflucas@research.att.com> | 2019-03-06 18:37:37 -0500 |
commit | b835cbc6eb17fe7d279c1963c520130dda8d519a (patch) | |
tree | 1984350a02fc79cbea5bd92be1619caf1704e369 /k8s/tests | |
parent | 059ebc5469200911b901fe41cab29447fa9a9705 (diff) |
Undeploy k8s artifacts on timeout
Issue-ID: DCAEGEN2-987
Change-Id: I35a2dcdb7b7f1b7280dba6593a9ee2b8921b6df9
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Diffstat (limited to 'k8s/tests')
-rw-r--r-- | k8s/tests/test_tasks.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/k8s/tests/test_tasks.py b/k8s/tests/test_tasks.py index 69e866d..948489a 100644 --- a/k8s/tests/test_tasks.py +++ b/k8s/tests/test_tasks.py @@ -208,8 +208,7 @@ def test_verify_container(monkeypatch, mockconfig): monkeypatch.setattr(k8sclient, "is_available", fake_is_available_never_good) - with pytest.raises(DockerPluginDeploymentError): - tasks._verify_k8s_deployment("some-name", 2) + assert not tasks._verify_k8s_deployment("some-name", 2) def test_update_delivery_url(monkeypatch, mockconfig): |