Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/e2e/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,13 @@ func verifyNoStaleFiles(containerID string) error {
return fmt.Errorf("bundle directory %s still exists", dirPath)
}

// Check /run/containerd/io.containerd.runtime.v2.task/moby/containerID directory does not exist
dirPath = "/run/containerd/io.containerd.runtime.v2.task/moby/" + containerID
_, err = os.Stat(dirPath)
if !os.IsNotExist(err) {
return fmt.Errorf("bundle directory %s still exists", dirPath)
}

return nil
}

Expand Down