Skip to content

Commit

Permalink
fix(docker_test): 修复 Docker 容器测试后未正常清理的问题 (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 authored Nov 19, 2024
1 parent 5127172 commit e5dfd1a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/lang/zh-CN/

## [Unreleased]

### Fixed

- 修复 Docker 容器测试后未正常清理的问题

## [4.0.3] - 2024-11-20

### Added
Expand Down
1 change: 1 addition & 0 deletions src/providers/docker_test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ async def run(self, version: str) -> DockerTestResult:
"PLUGINS_URL": REGISTRY_PLUGINS_URL,
},
detach=False,
remove=True,
).decode()

data = json.loads(output)
Expand Down
1 change: 1 addition & 0 deletions tests/utils/docker_test/test_docker_plugin_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ async def test_docker_plugin_test(mocked_api: MockRouter, mocker: MockerFixture)
}
),
detach=False,
remove=True,
)

0 comments on commit e5dfd1a

Please sign in to comment.