Merge pull request #6596 from zhsj/relax-hugetlb
cri: relax test for system without hugetlb
This commit is contained in:
commit
f57d1cf601
@ -214,7 +214,7 @@ func TestUpdateOCILinuxResource(t *testing.T) {
|
||||
t.Logf("TestCase %q", desc)
|
||||
config := criconfig.Config{
|
||||
PluginConfig: criconfig.PluginConfig{
|
||||
TolerateMissingHugetlbController: false,
|
||||
TolerateMissingHugetlbController: true,
|
||||
DisableHugetlbController: false,
|
||||
},
|
||||
}
|
||||
|
@ -55,7 +55,8 @@ func newTestCRIService() *criService {
|
||||
RootDir: testRootDir,
|
||||
StateDir: testStateDir,
|
||||
PluginConfig: criconfig.PluginConfig{
|
||||
SandboxImage: testSandboxImage,
|
||||
SandboxImage: testSandboxImage,
|
||||
TolerateMissingHugetlbController: true,
|
||||
},
|
||||
},
|
||||
imageFSPath: testImageFSPath,
|
||||
|
Loading…
Reference in New Issue
Block a user