add test case check connect.EndpointConfig not nil
add test case check connect.EndpointConfig not nil

Signed-off-by: chchliang <dd9f3e7b4f81c9a8683381fac1edadd0f748268e@zte.com.cn>

shishir-a412ed/docker,alfred-landrum/docker,nalind/docker,trebonian/docker,shhsu/docker,rhatdan/docker,jimjag/docker,ColinHebert/docker,jvanz/docker,mstanleyjones/docker,danyalKhaliq10p/moby,diogomonica/docker,michael-holzheu/docker,kolyshkin/docker,liaoqingwei/docker,naveed-jamil-tenpearls/moby,konstruktoid/docker-upstream,tmp6154/docker,JMesser81/docker,trebonian/docker,x1022as/docker,shhsu/docker,charleszheng44/moby,akira-baruah/docker,konstruktoid/docker-1,erikstmartin/docker,mtesselH/docker,kencochrane/docker,catinthesky/docker,haveatry/docker,diogomonica/docker,tmp6154/docker,dsheets/moby,rancher/docker,cyphar/docker,amatsus/docker,pramodhkp/moby,KingEmet/docker,resin-io/docker,yasiramin10p/moby,moul/docker,q384566678/docker,prertik/docker,raja-sami-10p/moby,fcrisciani/docker,tklauser/docker,YuPengZTE/docker,danyalKhaliq10p/moby,dgageot/docker,bearstech/moby,SvenDowideit/docker,hqhq/moby,dmcgowan/docker,crosbymichael/docker,prertik/docker,paralin/docker,michael-holzheu/docker,maxamillion/docker,jameszhan/docker,gschaetz/moby,vdemeester/docker,Ramzec/docker,YuPengZTE/docker,jameszhan/docker,laijs/docker,dgageot/docker,thtanaka/docker,amatsus/docker,dims/docker,sarnautov/moby,rremer/moby,srust/docker,tophj-ibm/docker,flavio/docker,AkihiroSuda/docker,kojiromike/docker,dperny/docker,dperny/docker,estesp/docker,mahak/docker,cyphar/docker,nawawi/docker,dperny/docker,haveatry/docker,darrenstahlmsft/moby,x1022as/docker,YuPengZTE/docker,thaJeztah/docker,nalind/docker,yummypeng/docker,SvenDowideit/docker,laijs/docker,cpuguy83/docker,maxamillion/docker,mkumatag/docker,ibuildthecloud/docker,whuwxl/docker,flavio/docker,amatsus/docker,paralin/docker,pradipd/moby,charleszheng44/moby,tophj-ibm/docker,lixiaobing10051267/docker,konstruktoid/docker-upstream,HideoYamauchi/docker,jlhawn/docker,tophj-ibm/docker,tonistiigi/docker,Syntaxide/docker,duglin/docker,q384566678/docker,POLJM242/docker,gschaetz/moby,tophj-ibm/moby,ripcurld0/moby,michael-holzheu/docker,bonczj/moby-json-file-logger,maxamillion/docker,mixja/docker,laijs/moby,moby/moby,alfred-landrum/docker,madhanrm/docker,miminar/docker,lixiaobing1/docker,mstanleyjones/docker,flavio/docker,yosifkit/docker,xuxinkun/docker,sterchelen/docker,allencloud/docker,tianon/docker,kencochrane/docker,lixiaobing10051267/docker,jimjag/docker,unclejack/docker,alfred-landrum/docker,trebonian/docker,miminar/docker,ffoysal/docker,shishir-a412ed/docker,gjaskiewicz/moby,duglin/docker,dims/docker,rremer/moby,x1022as/docker,KingEmet/docker,konstruktoid/docker-upstream,resin-io/docker,darrenstahlmsft/moby,ripcurld0/moby,rancher/docker,noironetworks/docker,qudongfang/docker,srust/docker,jthelin/docker,dccurtis/docker,jimjag/docker,tonistiigi/docker,xuxinkun/docker,konstruktoid/docker-1,raja-sami-10p/moby,raja-sami-10p/moby,docker/docker,lixiaobing1/docker,Ramzec/docker,scotttlin/docker,ffoysal/docker,allencloud/docker,jwhonce/docker,prertik/docker,sarnautov/moby,lixiaobing1/docker,pramodhkp/moby,mixja/docker,AkihiroSuda/docker,Mokolea/docker,coreos/docker,cpuguy83/docker,KarthikNayak/docker,PatrickLang/moby,ibuildthecloud/docker,johnstep/moby-moby,mikebrow/docker,flavio/docker,kolyshkin/moby,jlhawn/docker,shhsu/docker,catinthesky/docker,noironetworks/docker,dmcgowan/docker,djs55/docker,JMesser81/docker,dsheets/moby,pramodhkp/moby,scotttlin/docker,Syntaxide/docker,moypray/docker,scotttlin/docker,Syntaxide/docker,nalind/docker,kencochrane/docker,vdemeester/docker,yosifkit/docker,mkumatag/docker,jvanz/docker,tklauser/docker,estesp/docker,madhanrm/docker,Mokolea/docker,tianon/docker,jlhawn/docker,yummypeng/docker,darrenstahlmsft/docker,laijs/docker,liaoqingwei/docker,imkin/moby,moul/docker,mike1729/docker,yongtang/docker,fcrisciani/docker,dccurtis/docker,sterchelen/docker,moul/docker,sdurrheimer/docker,gnailuy/docker,coolljt0725/docker,fcrisciani/docker,JMesser81/docker,KarthikNayak/docker,yosifkit/docker,yongtang/docker,PatrickLang/moby,AkihiroSuda/docker,rhatdan/docker,erikh/docker,POLJM242/docker,laijs/moby,crosbymichael/docker,jthelin/docker,yummypeng/docker,srust/docker,hqhq/moby,mahak/docker,tophj-ibm/moby,naveed-jamil-tenpearls/moby,erikstmartin/docker,sdurrheimer/docker,docker/docker,dgageot/docker,mixja/docker,bearstech/moby,coreos/docker,gnailuy/docker,ffoysal/docker,hqhq/moby,konstruktoid/docker-1,gjaskiewicz/moby,xuxinkun/docker,sterchelen/docker,imkin/moby,AkihiroSuda/docker,lixiaobing10051267/docker,ndeloof/docker,ndeloof/docker,tmp6154/docker,mstanleyjones/docker,trebonian/docker,dccurtis/docker,rancher/docker,bearstech/moby,jwhonce/docker,ndeloof/docker,cyphar/docker,erikh/docker,ibuildthecloud/docker,yasiramin10p/moby,mikebrow/docker,vdemeester/docker,johnstep/moby-moby,tklauser/docker,dims/docker,justincormack/docker,kolyshkin/docker,moby/moby,tonistiigi/docker,mahak/docker,sdurrheimer/docker,charleszheng44/moby,ripcurld0/moby,mikebrow/docker,tophj-ibm/moby,rhatdan/docker,imkin/moby,darrenstahlmsft/docker,mkumatag/docker,laijs/moby,diogomonica/docker,johnstep/moby-moby,justincormack/docker,coreos/docker,mtesselH/docker,Mokolea/docker,gnailuy/docker,nawawi/docker,q384566678/docker,erikh/docker,miminar/docker,konstruktoid/docker-upstream,Ramzec/docker,HideoYamauchi/docker,pradipd/moby,nawawi/docker,akira-baruah/docker,KarthikNayak/docker,catinthesky/docker,ibuildthecloud/docker,dsheets/moby,moby/moby,coolljt0725/docker,nalind/docker,KingEmet/docker,ColinHebert/docker,dmcgowan/docker,shishir-a412ed/docker,whuwxl/docker,pradipd/moby,paralin/docker,sarnautov/moby,mahak/docker,jameszhan/docker,moul/docker,mike1729/docker,gnailuy/docker,darrenstahlmsft/docker,moypray/docker,ColinHebert/docker,crosbymichael/docker,thtanaka/docker,yosifkit/docker,danyalKhaliq10p/moby,moypray/docker,erikstmartin/docker,unclejack/docker,Ramzec/docker,kojiromike/docker,noironetworks/docker,qudongfang/docker,Mokolea/docker,jwhonce/docker,gschaetz/moby,resin-io/docker,kojiromike/docker,djs55/docker,duglin/docker,bearstech/moby,jimjag/docker,allencloud/docker,thaJeztah/docker,bonczj/moby-json-file-logger,thaJeztah/docker,coolljt0725/docker,moby/moby,mike1729/docker,bonczj/moby-json-file-logger,rremer/moby,thaJeztah/docker,qudongfang/docker,madhanrm/docker,justincormack/docker,jvanz/docker,HideoYamauchi/docker,unclejack/docker,cpuguy83/docker,liaoqingwei/docker,SvenDowideit/docker,mtesselH/docker,yasiramin10p/moby,paralin/docker,estesp/docker,thtanaka/docker,whuwxl/docker,gjaskiewicz/moby,PatrickLang/moby,naveed-jamil-tenpearls/moby,haveatry/docker,kolyshkin/moby,yongtang/docker,darrenstahlmsft/moby,docker/docker,ibuildthecloud/docker,djs55/docker,nawawi/docker,cpuguy83/docker,kolyshkin/moby