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)
|
t.Logf("TestCase %q", desc)
|
||||||
config := criconfig.Config{
|
config := criconfig.Config{
|
||||||
PluginConfig: criconfig.PluginConfig{
|
PluginConfig: criconfig.PluginConfig{
|
||||||
TolerateMissingHugetlbController: false,
|
TolerateMissingHugetlbController: true,
|
||||||
DisableHugetlbController: false,
|
DisableHugetlbController: false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -56,6 +56,7 @@ func newTestCRIService() *criService {
|
|||||||
StateDir: testStateDir,
|
StateDir: testStateDir,
|
||||||
PluginConfig: criconfig.PluginConfig{
|
PluginConfig: criconfig.PluginConfig{
|
||||||
SandboxImage: testSandboxImage,
|
SandboxImage: testSandboxImage,
|
||||||
|
TolerateMissingHugetlbController: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
imageFSPath: testImageFSPath,
|
imageFSPath: testImageFSPath,
|
||||||
|
Loading…
Reference in New Issue
Block a user