From 41576e27beddfd05054b7d8252699ea195f236e1 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 13 Dec 2020 21:51:59 +0100 Subject: [PATCH] tests/integration: continue even if ssl can't be cleaned up --- swagger.yaml | 3 +++ tests/integration/test_outpost_docker.py | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/swagger.yaml b/swagger.yaml index 591ef3698..3cd08237b 100755 --- a/swagger.yaml +++ b/swagger.yaml @@ -7087,6 +7087,9 @@ definitions: type: boolean url: title: Url + description: Can be in the format of 'unix://' when connecting to a + local docker daemon, or 'https://:2376' when connecting to a remote + system. type: string minLength: 1 tls_verification: diff --git a/tests/integration/test_outpost_docker.py b/tests/integration/test_outpost_docker.py index aecd1d1f6..88df76185 100644 --- a/tests/integration/test_outpost_docker.py +++ b/tests/integration/test_outpost_docker.py @@ -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"""