cri: relax test for system without hugetlb
These unit tests don't check hugetlb. However by setting TolerateMissingHugetlbController to false, these tests can't be run on system without hugetlb (e.g. Debian buildd). Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
		| @@ -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, | ||||
| 			}, | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Shengjing Zhu
					Shengjing Zhu