Skip to content

Commit

Permalink
Merge pull request containerd#6596 from zhsj/relax-hugetlb
Browse files Browse the repository at this point in the history
cri: relax test for system without hugetlb
  • Loading branch information
crosbymichael authored Mar 1, 2022
2 parents 590ef88 + 352a8f4 commit f57d1cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cri/server/container_update_resources_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
}
Expand Down
3 changes: 2 additions & 1 deletion pkg/cri/server/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ func newTestCRIService() *criService {
RootDir: testRootDir,
StateDir: testStateDir,
PluginConfig: criconfig.PluginConfig{
SandboxImage: testSandboxImage,
SandboxImage: testSandboxImage,
TolerateMissingHugetlbController: true,
},
},
imageFSPath: testImageFSPath,
Expand Down

0 comments on commit f57d1cf

Please sign in to comment.