tests/integration: continue even if ssl can't be cleaned up

This commit is contained in:
Jens Langhammer 2020-12-13 21:51:59 +01:00
parent 07082cb3aa
commit 41576e27be
2 changed files with 7 additions and 1 deletions

View File

@ -7087,6 +7087,9 @@ definitions:
type: boolean
url:
title: Url
description: Can be in the format of 'unix://<path>' when connecting to a
local docker daemon, or 'https://<hostname>:2376' when connecting to a remote
system.
type: string
minLength: 1
tls_verification:

View File

@ -83,7 +83,10 @@ class OutpostDockerTests(TestCase):
def tearDown(self) -> None:
super().tearDown()
self.container.kill()
rmtree(self.ssl_folder)
try:
rmtree(self.ssl_folder)
except PermissionError:
pass
def test_docker_controller(self):
"""test that deployment requires update"""