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 type: boolean
url: url:
title: 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 type: string
minLength: 1 minLength: 1
tls_verification: tls_verification:

View File

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