Skip to content

Commit 7c2a81d

Browse files
committed
docs: add additional nerdtest Requirement
Signed-off-by: Hayato Kiwata <[email protected]>
1 parent 246b6c1 commit 7c2a81d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/testing/tools.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,14 +394,29 @@ nerdtest.Soci // a test requires the soci snapshotter
394394
nerdtest.Stargz // a test requires the stargz snapshotter
395395
nerdtest.Rootless // a test requires Rootless
396396
nerdtest.Rootful // a test requires Rootful
397+
nerdtest.RootlessWithDetachNetNS // a test requires rootless with detached netns (RootlessKit v2)
398+
nerdtest.RootlessWithoutDetachNetNS // a test requires rootless without detached netns (RootlessKit v1)
397399
nerdtest.Build // a test requires buildkit
398400
nerdtest.CGroup // a test requires cgroup
401+
nerdtest.CgroupsAccessible // a test requires cgroup; passes if rootful, or rootless with cgroup v2
402+
nerdtest.CGroupV2 // a test requires cgroup v2
399403
nerdtest.NerdctlNeedsFixing // indicates that a test cannot be run on nerdctl yet as a fix is required
400404
nerdtest.BrokenTest // indicates that a test needs to be fixed and has been restricted to run only in certain cases
401405
nerdtest.OnlyIPv6 // a test is meant to run solely in the ipv6 environment
402406
nerdtest.OnlyKubernetes // a test is meant to run solely in the Kubernetes environment
403407
nerdtest.IsFlaky // indicates that a test will fail in a flaky way - this may be the test fault, or more likely something racy in nerdctl
404408
nerdtest.Private // see below
409+
nerdtest.Registry // a test requires a registry to be deployed
410+
nerdtest.IPFS // a test requires ipfs (binary present)
411+
nerdtest.Gomodjail // a test requires the target binary to be packed with gomodjail
412+
nerdtest.AllowModifyUserns // a test requires allow-modify-userns to be enabled
413+
nerdtest.RemapIDs // a test requires snapshotter to support ID remapping
414+
nerdtest.HyperV // a test requires Hyper-V (Windows)
415+
416+
nerdtest.Info(func(info dockercompat.Info) error { ... }) // `nerdctl info` should satisfy custom conditions
417+
nerdtest.SociVersion("0.10.0") // SOCI snapshotter version check
418+
nerdtest.ContainerdVersion("2.0.0") // containerd version check
419+
nerdtest.CNIFirewallVersion("1.7.1") // CNI firewall plugin version check
405420
```
406421

407422
### About `nerdtest.Private`

0 commit comments

Comments
 (0)