mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
Add additional testing scenarios for compute resource requests=0
This commit is contained in:
@@ -123,6 +123,12 @@ func TestGetPodQos(t *testing.T) {
|
||||
}),
|
||||
expected: Burstable,
|
||||
},
|
||||
{
|
||||
pod: newPod("burstable", []api.Container{
|
||||
newContainer("burstable", getResourceList("0", "0"), getResourceList("100m", "200Mi")),
|
||||
}),
|
||||
expected: Burstable,
|
||||
},
|
||||
}
|
||||
for _, testCase := range testCases {
|
||||
if actual := GetPodQos(testCase.pod); testCase.expected != actual {
|
||||
|
||||
Reference in New Issue
Block a user