Add test cases to the addAllocatableThresholds function in pkg/kubelet/eviction/helpers.go
Add test cases to the addAllocatableThresholds function in pkg/kubelet/eviction/helpers.go

Signed-off-by: 刁浩 10284789 <58b1afaa3efbaad513f6322d7bfb59c1582df344@zte.com.cn>

andrewrynhard/kubernetes,deads2k/kubernetes,jsafrane/kubernetes,zhouhaibing089/kubernetes,GulajavaMinistudio/kubernetes,li-ang/kubernetes,nak3/kubernetes,cblecker/kubernetes,shyamjvs/kubernetes,aledbf/kubernetes,dereknex/kubernetes,krmayankk/kubernetes,rnaveiras/kubernetes,k82cn/kubernetes,carlory/kubernetes,tengqm/kubernetes,olivierlemasle/kubernetes,GulajavaMinistudio/kubernetes,liggitt/kubernetes,fanzhangio/kubernetes,dims/kubernetes,mengqiy/kubernetes,deads2k/kubernetes,mikebrow/kubernetes,zhouhaibing089/kubernetes,rafax/kubernetes,dereknex/kubernetes,roberthbailey/kubernetes,ii/kubernetes,tengqm/kubernetes,sdminonne/kubernetes,kevin-wangzefeng/kubernetes,rafax/kubernetes,cofyc/kubernetes,cblecker/kubernetes,ii/kubernetes,jackfrancis/kubernetes,k82/kubernetes,jingxu97/kubernetes,aledbf/kubernetes,linux-on-ibm-z/kubernetes,thockin/kubernetes,openshift/kubernetes,cofyc/kubernetes,sdminonne/kubernetes,nikhita/kubernetes,weiwei04/kubernetes,deads2k/kubernetes,x13n/kubernetes,bparees/kubernetes,mosoft521/kubernetes,k82cn/kubernetes,deads2k/kubernetes,kubernetes/kubernetes,dixudx/kubernetes,zhouhaibing089/kubernetes,iameli/kubernetes,x13n/kubernetes,aledbf/kubernetes,x13n/kubernetes,shyamjvs/kubernetes,shyamjvs/kubernetes,ping035627/kubernetes,kevin-wangzefeng/kubernetes,verult/kubernetes,wongma7/kubernetes,dims/kubernetes,zhangmingld/kubernetes,li-ang/kubernetes,idvoretskyi/kubernetes,gnufied/kubernetes,shyamjvs/kubernetes,mahak/kubernetes,ravilr/kubernetes,PiotrProkop/kubernetes,chrislovecnm/kubernetes,jingxu97/kubernetes,olivierlemasle/kubernetes,liggitt/kubernetes,BenTheElder/kubernetes,jessfraz/kubernetes,warmchang/kubernetes,PI-Victor/kubernetes,cblecker/kubernetes,hex108/kubernetes,Clarifai/kubernetes,enj/kubernetes,openshift/kubernetes,linux-on-ibm-z/kubernetes,mkumatag/kubernetes,zhangmingld/kubernetes,chrislovecnm/kubernetes,mahak/kubernetes,tpepper/kubernetes,BenTheElder/kubernetes,csrwng/kubernetes,mikebrow/kubernetes,hex108/kubernetes,x13n/kubernetes,matthyx/kubernetes,hex108/kubernetes,mkumatag/kubernetes,olivierlemasle/kubernetes,thockin/kubernetes,mikedanese/kubernetes,weiwei04/kubernetes,dims/kubernetes,idvoretskyi/kubernetes,k82cn/kubernetes,monopole/kubernetes,dereknex/kubernetes,ping035627/kubernetes,andrewrynhard/kubernetes,zhangmingld/kubernetes,jagosan/kubernetes,spzala/kubernetes,gnufied/kubernetes,MikeSpreitzer/kubernetes,dereknex/kubernetes,mkumatag/kubernetes,mengqiy/kubernetes,hex108/kubernetes,humblec/kubernetes,bparees/kubernetes,liggitt/kubernetes,jsafrane/kubernetes,mosoft521/kubernetes,alejandroEsc/kubernetes,MikeSpreitzer/kubernetes,mahak/kubernetes,chrislovecnm/kubernetes,idvoretskyi/kubernetes,carlory/kubernetes,weiwei04/kubernetes,sdminonne/kubernetes,feiskyer/kubernetes,verb/kubernetes,mahak/kubernetes,kevin-wangzefeng/kubernetes,PiotrProkop/kubernetes,aledbf/kubernetes,krmayankk/kubernetes,nak3/kubernetes,x13n/kubernetes,csrwng/kubernetes,Clarifai/kubernetes,ii/kubernetes,nckturner/kubernetes,PiotrProkop/kubernetes,jackfrancis/kubernetes,nikhita/kubernetes,carlory/kubernetes,li-ang/kubernetes,tpepper/kubernetes,rrati/kubernetes,fabriziopandini/kubernetes,spzala/kubernetes,fanzhangio/kubernetes,alejandroEsc/kubernetes,jagosan/kubernetes,aledbf/kubernetes,bparees/kubernetes,wongma7/kubernetes,ravilr/kubernetes,carlory/kubernetes,cblecker/kubernetes,carlory/kubernetes,lojies/kubernetes,tpepper/kubernetes,tpepper/kubernetes,saad-ali/kubernetes,verult/kubernetes,krmayankk/kubernetes,matthyx/kubernetes,warmchang/kubernetes,wongma7/kubernetes,jessfraz/kubernetes,roberthbailey/kubernetes,iameli/kubernetes,Acidburn0zzz/kubernetes,rnaveiras/kubernetes,hex108/kubernetes,wongma7/kubernetes,ping035627/kubernetes,warmchang/kubernetes,tengqm/kubernetes,weiwei04/kubernetes,thockin/kubernetes,monopole/kubernetes,jackfrancis/kubernetes,nak3/kubernetes,mikedanese/kubernetes,liggitt/kubernetes,jessfraz/kubernetes,verb/kubernetes,matthyx/kubernetes,soltysh/kubernetes,MikeSpreitzer/kubernetes,saad-ali/kubernetes,mikedanese/kubernetes,iameli/kubernetes,enj/kubernetes,k82/kubernetes,jackfrancis/kubernetes,nikhita/kubernetes,mosoft521/kubernetes,ping035627/kubernetes,roberthbailey/kubernetes,spzala/kubernetes,jessfraz/kubernetes,humblec/kubernetes,gnufied/kubernetes,wongma7/kubernetes,saad-ali/kubernetes,rrati/kubernetes,monopole/kubernetes,alejandroEsc/kubernetes,fanzhangio/kubernetes,dixudx/kubernetes,zhangmingld/kubernetes,openshift/kubernetes,rafax/kubernetes,ii/kubernetes,li-ang/kubernetes,MikeSpreitzer/kubernetes,warmchang/kubernetes,gnufied/kubernetes,andrewrynhard/kubernetes,idvoretskyi/kubernetes,linux-on-ibm-z/kubernetes,li-ang/kubernetes,fanzhangio/kubernetes,chestack/kubernetes,krmayankk/kubernetes,humblec/kubernetes,PI-Victor/kubernetes,idvoretskyi/kubernetes,weiwei04/kubernetes,roberthbailey/kubernetes,rrati/kubernetes,verult/kubernetes,zhangmingld/kubernetes,mikebrow/kubernetes,shyamjvs/kubernetes,tengqm/kubernetes,andrewrynhard/kubernetes,feiskyer/kubernetes,chrislovecnm/kubernetes,BenTheElder/kubernetes,nckturner/kubernetes,x13n/kubernetes,humblec/kubernetes,cofyc/kubernetes,andrewrynhard/kubernetes,GulajavaMinistudio/kubernetes,linux-on-ibm-z/kubernetes,zhouhaibing089/kubernetes,openshift/kubernetes,saad-ali/kubernetes,nak3/kubernetes,chestack/kubernetes,ping035627/kubernetes,monopole/kubernetes,soltysh/kubernetes,zhangmingld/kubernetes,PI-Victor/kubernetes,nckturner/kubernetes,alejandroEsc/kubernetes,k82cn/kubernetes,mengqiy/kubernetes,cblecker/kubernetes,ii/kubernetes,mosoft521/kubernetes,cofyc/kubernetes,chestack/kubernetes,fabriziopandini/kubernetes,micahhausler/kubernetes,k82/kubernetes,Clarifai/kubernetes,PI-Victor/kubernetes,enj/kubernetes,verb/kubernetes,verult/kubernetes,nak3/kubernetes,jsafrane/kubernetes,fabriziopandini/kubernetes,nak3/kubernetes,Acidburn0zzz/kubernetes,Acidburn0zzz/kubernetes,verult/kubernetes,alejandroEsc/kubernetes,fabriziopandini/kubernetes,rnaveiras/kubernetes,dereknex/kubernetes,matthyx/kubernetes,deads2k/kubernetes,jessfraz/kubernetes,lojies/kubernetes,chrislovecnm/kubernetes,gnufied/kubernetes,zhouhaibing089/kubernetes,micahhausler/kubernetes,olivierlemasle/kubernetes,MikeSpreitzer/kubernetes,BenTheElder/kubernetes,kubernetes/kubernetes,iameli/kubernetes,fanzhangio/kubernetes,soltysh/kubernetes,soltysh/kubernetes,chrislovecnm/kubernetes,mosoft521/kubernetes,verb/kubernetes,tpepper/kubernetes,Clarifai/kubernetes,rnaveiras/kubernetes,jingxu97/kubernetes,mikedanese/kubernetes,jsafrane/kubernetes,jackfrancis/kubernetes,Acidburn0zzz/kubernetes,cofyc/kubernetes,nckturner/kubernetes,humblec/kubernetes,bparees/kubernetes,dereknex/kubernetes,hex108/kubernetes,sdminonne/kubernetes,lojies/kubernetes,tpepper/kubernetes,rnaveiras/kubernetes,rrati/kubernetes,csrwng/kubernetes,csrwng/kubernetes,nikhita/kubernetes,lojies/kubernetes,spzala/kubernetes,rafax/kubernetes,monopole/kubernetes,roberthbailey/kubernetes,BenTheElder/kubernetes,jingxu97/kubernetes,fanzhangio/kubernetes,kubernetes/kubernetes,dims/kubernetes,micahhausler/kubernetes,micahhausler/kubernetes,chestack/kubernetes,nckturner/kubernetes,dixudx/kubernetes,verult/kubernetes,k82/kubernetes,bparees/kubernetes,krmayankk/kubernetes,thockin/kubernetes,feiskyer/kubernetes,dixudx/kubernetes,jagosan/kubernetes,idvoretskyi/kubernetes,dixudx/kubernetes,mikebrow/kubernetes,rrati/kubernetes,chestack/kubernetes,Acidburn0zzz/kubernetes,mengqiy/kubernetes,enj/kubernetes,mahak/kubernetes,kevin-wangzefeng/kubernetes,mkumatag/kubernetes,matthyx/kubernetes,tengqm/kubernetes,soltysh/kubernetes,ravilr/kubernetes,PiotrProkop/kubernetes,jagosan/kubernetes,linux-on-ibm-z/kubernetes,ravilr/kubernetes,spzala/kubernetes,sdminonne/kubernetes,Clarifai/kubernetes,nikhita/kubernetes,mengqiy/kubernetes,kevin-wangzefeng/kubernetes,thockin/kubernetes,saad-ali/kubernetes,liggitt/kubernetes,micahhausler/kubernetes,iameli/kubernetes,verb/kubernetes,mkumatag/kubernetes,GulajavaMinistudio/kubernetes,lojies/kubernetes,olivierlemasle/kubernetes,Clarifai/kubernetes,mikebrow/kubernetes,cofyc/kubernetes,krmayankk/kubernetes,csrwng/kubernetes,PI-Victor/kubernetes,PiotrProkop/kubernetes,kubernetes/kubernetes,openshift/kubernetes,GulajavaMinistudio/kubernetes,PI-Victor/kubernetes,enj/kubernetes,warmchang/kubernetes,k82cn/kubernetes,jagosan/kubernetes,jingxu97/kubernetes,dims/kubernetes,Acidburn0zzz/kubernetes,fabriziopandini/kubernetes,mikedanese/kubernetes,jsafrane/kubernetes,ravilr/kubernetes,k82/kubernetes,feiskyer/kubernetes,saad-ali/kubernetes,weiwei04/kubernetes,kubernetes/kubernetes,andrewrynhard/kubernetes,feiskyer/kubernetes