Skip to content
Snippets Groups Projects
Commit 977cfc2c authored by Kamil Kobza's avatar Kamil Kobza
Browse files

Merge branch 'bugfix-116329-docker-client-closing' into 'master'

Added connection closing for docker_client

See merge request !18
parents 78c08adb 2f29499a
Branches
Tags 3.5.1
1 merge request!18Added connection closing for docker_client
Pipeline #54730 passed
# Changelog
## v. 3.5.1 [#116329](https://redmine.mga.com.pl/issues/116329)
* Dodano zamknięcie połączeń docker_clienta po zakończeniu testów.
## v. 3.5.0 [#114660](https://redmine.mga.com.pl/issues/114660)
* Dodano obsługę błędu podzczas pobierania logów z kontenera.
......
__version__ = (3, 5, 0)
__version__ = (3, 5, 1)
import pytest
from pytest_docker_integration.hub import containers_hub
from pytest_docker_integration.hub import containers_hub, docker_client
from pytest_docker_integration.exceptions import HubStartupFailed
......@@ -68,6 +68,7 @@ def pytest_runtestloop(session):
)
yield
containers_hub.remove()
docker_client.close()
@pytest.hookimpl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment