mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-17 04:52:23 +00:00
tests: exclude TestContainerRestart from the cri-containerd test list
Creating a new container in the same sandbox VM after the previous container has exited and been removed has never been supported by kata-containers (neither with the go-based nor the rust-based runtime). When the last container is removed the kata VM shuts down, so any attempt to start a new container in the same sandbox fails. This test exercises a use-case kata does not currently support, and it has never been part of the passing list for good reason. Mark it explicitly excluded with a comment so it is clear this is a deliberate omission rather than an oversight. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com> Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
This commit is contained in:
@@ -687,8 +687,13 @@ function main() {
|
||||
|
||||
info "containerd(cri): Running cri-integration"
|
||||
|
||||
|
||||
passing_test="TestContainerStats|TestContainerRestart|TestContainerListStatsWithIdFilter|TestContainerListStatsWithIdSandboxIdFilter|TestDuplicateName|TestImageLoad|TestImageFSInfo|TestSandboxCleanRemove"
|
||||
# TestContainerRestart is excluded: creating a new container in the same
|
||||
# sandbox VM after the previous container has exited and been removed has
|
||||
# never been supported by kata-containers (neither with the go-based nor
|
||||
# the rust-based runtime). The kata VM shuts down when its last container
|
||||
# is removed, so any attempt to start a new container in the same sandbox
|
||||
# fails. This test exercises a use-case kata does not currently support.
|
||||
passing_test="TestContainerStats|TestContainerListStatsWithIdFilter|TestContainerListStatsWithIdSandboxIdFilter|TestDuplicateName|TestImageLoad|TestImageFSInfo|TestSandboxCleanRemove"
|
||||
|
||||
if [[ "${KATA_HYPERVISOR}" == "clh-runtime-rs" || \
|
||||
"${KATA_HYPERVISOR}" == "qemu" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user