stabilized and improve pendingquerybuf test suit (#8780)
stabilized and improve pendingquerybuf test suit (#8780)

replace the hardcoded after 2000, with waiting for the sync and
wait for condition
ofirluzon/redis,yossigo/redis,soloestoy/redis,charsyam/redis,charsyam/redis,ctripcorp/redis,ctripcorp/redis,antirez/redis,antirez/redis,ofirluzon/redis,oranagra/redis,ofirluzon/redis,PKRoma/redis,PKRoma/redis,soloestoy/redis,charsyam/redis,ctripcorp/redis,soloestoy/redis,charsyam/redis,ofirluzon/redis,neomantra/redis,PKRoma/redis,oranagra/redis,ctripcorp/redis,neomantra/redis,charsyam/redis,yossigo/redis,ofirluzon/redis,PKRoma/redis,oranagra/redis,PKRoma/redis,neomantra/redis,neomantra/redis,neomantra/redis,oranagra/redis,yossigo/redis,yossigo/redis,yossigo/redis,antirez/redis,antirez/redis,oranagra/redis,soloestoy/redis,soloestoy/redis