File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -669,10 +669,7 @@ func TestContainerInspectHostConfigPIDDefaults(t *testing.T) {
669669func TestContainerInspectDevices (t * testing.T ) {
670670 testCase := nerdtest .Setup ()
671671
672- testCase .Require = require .All (
673- require .Not (nerdtest .Rootless ),
674- require .Not (nerdtest .CGroup ),
675- )
672+ testCase .Require = nerdtest .CgroupsAccessible
676673
677674 testCase .Setup = func (data test.Data , helpers test.Helpers ) {
678675 // Create a temporary directory
@@ -731,6 +728,7 @@ func TestContainerInspectBlkioSettings(t *testing.T) {
731728 // Some of the blkio settings are not supported in cgroup v1.
732729 // So skip this test if running on cgroup v1
733730 testCase .Require = require .All (
731+ require .Not (nerdtest .Docker ),
734732 require .Not (nerdtest .Rootless ),
735733 require .Not (nerdtest .CGroup ),
736734 )
You can’t perform that action at this time.
0 commit comments