mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-08 14:29:45 +00:00
update unit test for hugepage resourceQuota support
This commit is contained in:
@@ -59,6 +59,7 @@ func TestIsStandardResource(t *testing.T) {
|
||||
{"blah", false},
|
||||
{"x.y.z", false},
|
||||
{"hugepages-2Mi", true},
|
||||
{"requests.hugepages-2Mi", true},
|
||||
}
|
||||
for i, tc := range testCases {
|
||||
if IsStandardResourceName(tc.input) != tc.output {
|
||||
|
Reference in New Issue
Block a user