Sentinel test: more correct sentinels config reset.
Sentinel test: more correct sentinels config reset.

In the initialization test for each instance we used to unregister the
old master and register it again to clear the config.
However there is a race condition doing this: as soon as we unregister
and re-register "mymaster", another Sentinel can update the new
configuration with the old state because of gossip "hello" messages.

So the correct procedure is instead, unregister "mymaster" from all the
sentinel instances, and re-register it everywhere again.

rouzier/redis,pkdevbox/redis,Aaron1992/redis,mengyou0304/redis,neomantra/redis,roth1002/redis,NBSW/redis,NBSW/redis,hgl888/redis,mattsta/redis,duanx/redis,universsky/redis,ErikDubbelboer/redis,Sciumo/redis,twskipper/redis,badboy/redis,vincent-vivian-liu/redis,qiyang0221/redis,ton31337/redis,wbailey5/redis,harrisonfeng/redis,atreeyang/redis,xujunhai1991/redis,nuxeh/redis,sunheehnus/redis,ytjiang/redis,tellapart/redis,devaos/redis,aim-for-better/redis,PradheepShrinivasan/redis,mumingv/redis,davidradunz/redis,NBSW/redis,mverrilli/redis,mcanthony/redis,vincent-vivian-liu/redis,z-fork/redis,mingyaaaa/redis,tanghaodong25/redis,seandsky/redis,seppo0010/redis,kmiku7/redis,iandyh/redis,badboy/redis,mgk/redis,yuhc/redis-benchmark-enhanced,weizijun/redis,CodeJuan/redis,wenxueliu/redis_comment,Wangyao14cyy/redis,StevenTsai/redis,Aaron1992/redis,yossigo/redis,arijitvt/redis,charsyam/redis,csuhawk/redis,kmiku7/redis,linfangrong/redis,Wangyao14cyy/redis,AALEKH/redis,tellapart/redis,hedisdb/hedis,GitHubMota/redis,mingyaaaa/redis,pkdevbox/redis,rogerchina/redis,itamarhaber/redis,badboy/redis,nuxeh/redis,francischan714/redis,cnbin/redis,ncopa/redis,gilala/redis,davidradunz/redis,gaoxianglong/redis,ctripcorp/redis,programmecat/redis,dreamquster/redis,honestme/redis,aim-for-better/redis,zczhuohuo/redis,yossigo/redis,narma/redis,harrisonfeng/redis,takeshineshiro/redis,josiahcarlson/redis,z-fork/redis,colstrom/redis,YuraLukashik/redis,xlzhan/redis,csuhawk/redis,healerkx/redis,MOON-CLJ/redis,ouyangkongtong/redis,AplayER/redis,mingyaaaa/redis,soloestoy/redis,ofirluzon/redis,spinlock/redis,xujunhai1991/redis,Markgorden/redis,OmarQunsul/graph-redis,cnbin/redis,PradheepShrinivasan/redis,xujunhai1991/redis,hedisdb/hedis,YongMan/redis,holstvoogd/redis,YuraLukashik/redis,seandsky/redis,zguangyu/redis,mengzhejin/RedisStudy,mverrilli/redis,modulexcite/redis,alenslan/redis,mengzhejin/RedisStudy,jasonkying/redis,holstvoogd/redis,charsyam/redis,hornen/redis,4396/redis,harrisonfeng/redis,elkingtonmcb/redis,hawkchch/redis,rogerlz/redis,j0hnma/hszredis,atreeyang/redis,neomantra/redis,saisai/redis,jasonkying/redis,wbailey5/redis,LongXQ/redis,Markgorden/redis,zczhuohuo/redis,universsky/redis,clamoriniere1A/redis,soveran/redis,arijitvt/redis,Wangyao14cyy/redis,twskipper/redis,PKRoma/redis,dreamquster/redis,itugs/redis,mengyou0304/redis,SummonY/redis,iandyh/redis,mgk/redis,a-pavlov/redis,jackyan/redis,abhiklodh/redis,a-pavlov/redis,ncopa/redis,RepmujNetsik/redis,Aliceljm1/redis,ituncle/redis,itugs/redis,RepmujNetsik/redis,qiyang0221/redis,seppo0010/rlite-server,valdsJohn/redis,honestme/redis,oranagra/redis,colstrom/redis,simplestbest/redis,valdsJohn/redis,duanx/redis,guker/redis,iandyh/redis,blackmady/redis,shining-yang/redis,flashbuckets/redis,Aliceljm1/redis,4396/redis,josiahcarlson/redis,aim-for-better/redis,kaushik94/redis,shreesundara/redis,ofirluzon/redis,StevenTsai/redis,timothyohare/3rdPartySrc-redis,fengshao0907/redis,guker/redis,wangyikai/redis,mcanthony/redis,wangyikai/redis,gilala/hbjredis,netroby/redis,ErikDubbelboer/redis,hornen/redis,janekmi/redis,yuhc/redis-benchmark-enhanced,PKRoma/redis,jingjidejuren/redis,wenxueliu/redis_comment,huyuezheng/redis,riyan8250/redis,j0hnma/hszredis,YongMan/redis,Wangyao14cyy/redis,pmem/redis,pedigree/redis,mengzhejin/RedisStudy,ton31337/redis,kensou97/redis,jasonkying/redis,devaos/redis,mgk/redis,holstvoogd/redis,pmem/redis,programmecat/redis,pcarrier/redis,YuraLukashik/redis,190235047/redis,fengshao0907/redis,itamarhaber/redis,aim-for-better/redis,GitHubMota/redis,sunheehnus/redis,ouyangkongtong/redis,wbailey5/redis,SyntaxStacks/redis,takeshineshiro/redis,jingjidejuren/redis,davidradunz/redis,YuanZhewei/redis,Aliceljm1/redis,elkingtonmcb/redis,mgk/redis,july2993/redis,jackyan/redis,charsyam/redis,ipmobiletech/redis,brg-liuwei/redis,netroby/redis,xuguruogu/redis,PKRoma/redis,Aaron1992/redis,hawkchch/redis,kaushik94/redis,tellapart/redis,janekmi/redis,nnog/redis,charsyam/redis,roth1002/redis,OmarQunsul/graph-redis,Markgorden/redis,iandyh/redis,cloudrain21/redis,rogerlz/redis,seppo0010/redis,nuxeh/redis,honestme/redis,SummonY/redis,rogerlz/redis,modulexcite/redis,AplayER/redis,mengzhejin/RedisStudy,healerkx/redis,citusdata/redis,takeshineshiro/redis,mverrilli/redis,hawkchch/redis,xuguruogu/redis,rogerchina/redis,yossigo/redis,jingjidejuren/redis,z-fork/redis,seandsky/redis,JoeWoo/redis,saisai/redis,a-pavlov/redis,gilala/hredis,gilala/redis,xlzhan/redis,supasate/redis,july2993/redis,modulexcite/redis,taoguan/redis,francischan714/redis,ipmobiletech/redis,oranagra/redis,cusspvz/redis,sunheehnus/redis,gilala/hbjredis,GrimDerp/redis,hgl888/redis,pkdevbox/redis,MasahikoSawada/redis,YuanZhewei/redis,mverrilli/redis,zhiliaoniu/redis,RepmujNetsik/redis,h0x91b/redis,gilala/hredis,ctripcorp/redis,tanghaodong25/redis,abhiklodh/redis,riyan8250/redis,seppo0010/redis,takeshineshiro/redis,190235047/redis,zhiliaoniu/redis,itamarhaber/redis,allengaller/redis,pmem/redis,mumingv/redis,LongXQ/redis,linfangrong/redis,tjschuck/redis,a-pavlov/redis,antirez/redis,riyan8250/redis,MOON-CLJ/redis,flashbuckets/redis,supasate/redis,zhiliaoniu/redis,taoguan/redis,LongXQ/redis,Sciumo/redis,narma/redis,ofirluzon/redis,antirez/redis,mcanthony/redis,dayuoba/redis,jackyan/redis,rogerlz/redis,kensou97/redis,holstvoogd/redis,YuraLukashik/redis,SyntaxStacks/redis,valdsJohn/redis,xuguruogu/redis,seppo0010/rlite-server,healerkx/redis,brg-liuwei/redis,antirez/redis,valdsJohn/redis,twskipper/redis,janekmi/redis,Sciumo/redis,riyan8250/redis,fengshao0907/redis,PKRoma/redis,zhcy/redis,blackmady/redis,yossigo/redis,qiyang0221/redis,tanghaodong25/redis,YongMan/redis,ctripcorp/redis,seppo0010/redis,huyuezheng/redis,csuhawk/redis,hgl888/redis,hgl888/redis,ErikDubbelboer/redis,dreamquster/redis,z-fork/redis,colstrom/redis,hornen/redis,soloestoy/redis,gilala/hbjredis,wprice/redis,PKRoma/redis,hawkchch/redis,elkingtonmcb/redis,clamoriniere1A/redis,xuguruogu/redis,j0hnma/szredis,rogerchina/redis,cnbin/redis,kaushik94/redis,antirez/redis,jackyan/redis,arijitvt/redis,itugs/redis,blackmady/redis,pedigree/redis,rouzier/redis,nuxeh/redis,jasonkying/redis,kensou97/redis,wujf/redis,rouzier/redis,thomasdarimont/redis,AALEKH/redis,soveran/redis,universsky/redis,mengyou0304/redis,ton31337/redis,devaos/redis,pedigree/redis,CodeJuan/redis,tjschuck/redis,atreeyang/redis,StevenTsai/redis,wenxueliu/redis_comment,programmecat/redis,SummonY/redis,nnog/redis,gilala/redis,ytjiang/redis,Soledad89/redis,GrimDerp/redis,cusspvz/redis,CodeJuan/redis,SyntaxStacks/redis,ncopa/redis,4396/redis,neomantra/redis,cusspvz/redis,supasate/redis,pedigree/redis,soveran/redis,neomantra/redis,yossigo/redis,cusspvz/redis,ctripcorp/redis,badboy/redis,taoguan/redis,simplestbest/redis,clamoriniere1A/redis,charsyam/redis,ipmobiletech/redis,allengaller/redis,gilala/hredis,cloudrain21/redis,seppo0010/rlite-server,timothyohare/3rdPartySrc-redis,izhoujie/redis,Sciumo/redis,PradheepShrinivasan/redis,shreesundara/redis,hedisdb/hedis,yuhc/redis-benchmark-enhanced,ofirluzon/redis,josiahcarlson/redis,abhiklodh/redis,roth1002/redis,citusdata/redis,spinlock/redis,zguangyu/redis,hornen/redis,ituncle/redis,ErikDubbelboer/redis,Soledad89/redis,fengshao0907/redis,MasahikoSawada/redis,clamoriniere1A/redis,thomasdarimont/redis,july2993/redis,weizijun/redis,gilala/bjredis,pmem/redis,wprice/redis,4396/redis,ofirluzon/redis,vincent-vivian-liu/redis,zczhuohuo/redis,YuanZhewei/redis,Soledad89/redis,alenslan/redis,gilala/bjredis,zguangyu/redis,francischan714/redis,citusdata/redis,wujf/redis,csuhawk/redis,gilala/bjredis,alenslan/redis,ytjiang/redis,thomasdarimont/redis,zhiliaoniu/redis,netroby/redis,zguangyu/redis,wenxueliu/redis_comment,h0x91b/redis,kensou97/redis,wbailey5/redis,NBSW/redis,linfangrong/redis,wangyikai/redis,YuanZhewei/redis,simplestbest/redis,timothyohare/3rdPartySrc-redis,brg-liuwei/redis,supasate/redis,atreeyang/redis,xlzhan/redis,GrimDerp/redis,dayuoba/redis,mingyaaaa/redis,soloestoy/redis,shining-yang/redis,brg-liuwei/redis,shreesundara/redis,j0hnma/szredis,wujf/redis,mumingv/redis,JoeWoo/redis,pcarrier/redis,flashbuckets/redis,StevenTsai/redis,190235047/redis,seppo0010/rlite-server,shining-yang/redis,itugs/redis,Aaron1992/redis,cloudrain21/redis,mattsta/redis,JoeWoo/redis,tanghaodong25/redis,mattsta/redis,netroby/redis,seandsky/redis,xlzhan/redis,hedisdb/hedis,qiyang0221/redis,gilala/redis,colstrom/redis,Markgorden/redis,neomantra/redis,kmiku7/redis,saisai/redis,francischan714/redis,ipmobiletech/redis,oranagra/redis,j0hnma/hszredis,j0hnma/szredis,h0x91b/redis,LongXQ/redis,spinlock/redis,duanx/redis,ton31337/redis,dayuoba/redis,pkdevbox/redis,mumingv/redis,jingjidejuren/redis,dayuoba/redis,GrimDerp/redis,MasahikoSawada/redis,sunheehnus/redis,programmecat/redis,saisai/redis,healerkx/redis,OmarQunsul/graph-redis,huyuezheng/redis,ytjiang/redis,zhcy/redis,guker/redis,universsky/redis,ituncle/redis,guker/redis,wprice/redis,izhoujie/redis,soveran/redis,modulexcite/redis,SummonY/redis,linfangrong/redis,dreamquster/redis,abhiklodh/redis,josiahcarlson/redis,rouzier/redis,oranagra/redis,weizijun/redis,harrisonfeng/redis,h0x91b/redis,AALEKH/redis,taoguan/redis,nnog/redis,janekmi/redis,rogerchina/redis,roth1002/redis,190235047/redis,weizijun/redis,PradheepShrinivasan/redis,ituncle/redis,j0hnma/szredis,GitHubMota/redis,izhoujie/redis,simplestbest/redis,timothyohare/3rdPartySrc-redis,Aliceljm1/redis,arijitvt/redis,duanx/redis,nnog/redis,zczhuohuo/redis,ouyangkongtong/redis,zhcy/redis,CodeJuan/redis,oranagra/redis,xujunhai1991/redis,yuhc/redis-benchmark-enhanced,RepmujNetsik/redis,wujf/redis,alenslan/redis,OmarQunsul/graph-redis,JoeWoo/redis,MOON-CLJ/redis,tjschuck/redis,gaoxianglong/redis,MasahikoSawada/redis,allengaller/redis,devaos/redis,gaoxianglong/redis,YongMan/redis,shreesundara/redis,allengaller/redis,AplayER/redis,itamarhaber/redis,pcarrier/redis,mengyou0304/redis,gaoxianglong/redis,ouyangkongtong/redis,zhcy/redis,cloudrain21/redis,vincent-vivian-liu/redis,ncopa/redis,gilala/hredis,gilala/bjredis,citusdata/redis,tjschuck/redis,soloestoy/redis,SyntaxStacks/redis,Soledad89/redis,gilala/hbjredis,blackmady/redis,tellapart/redis,davidradunz/redis,twskipper/redis,wangyikai/redis,elkingtonmcb/redis,AALEKH/redis,GitHubMota/redis,honestme/redis,spinlock/redis,thomasdarimont/redis,huyuezheng/redis,mcanthony/redis,july2993/redis,wprice/redis,kaushik94/redis,soloestoy/redis,kmiku7/redis,j0hnma/hszredis,shining-yang/redis,flashbuckets/redis,pcarrier/redis,cnbin/redis,AplayER/redis,narma/redis,izhoujie/redis