containerd / containerd/nerdctl

Add testing for OCI hooks

Open
#3,156 1 comment 1 reaction 0 assignees View on GitHub
area/ci
Dominant language
Go
Stars
10.4k
Forks
826
Avg merge
1d 23h
Merged PRs (30d)
44

Description

### What is the problem you're trying to solve

Looking in pkg/ocihook, we don't seem to have to have any tests to ensure these OCI hooks are working as intended. We have one test in [container_run_test.go](https://github.com/containerd/nerdctl/blob/main/cmd/nerdctl/container_run_test.go#L487), but nothing more extensive than that.

### Describe the solution you'd like

Add more extensive testing to ensure OCI hooks are working properly.

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.