[scheduler] avoid comparing function pointers in unit tests
[scheduler] avoid comparing function pointers in unit tests

PluginFactory is a function that returns a plugin. We have been
comparing these functions in unit tests and it has worked so far, but
starts to fail in gotip/master.

Note from the golang team:
```
Func values are incomparable. It is true that you could get the PC
through reflection but it is still not expected to be compared. PCs
can change due to inlining, wrappers, etc., depending on the
compiler's details, which is subject to change.
```

Signed-off-by: Davanum Srinivas <36003aec7ba325a16727bc9a176c12d2776a8ce4@gmail.com>

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