store/tikv/latch: fix a data race in test code (#6324)
store/tikv/latch: fix a data race in test code (#6324)


qiuyesuifeng/tidb,pingcap/tidb,pingcap/tidb,cosmtrek/tidb,mccxj/tidb,coocood/tidb,kyle-wang/tidb,tiancaiamao/tidb,Cofyc/tidb,ngaut/tidb,CodeRushing/tidb,ming-relax/tidb,EvilMcJerkface/tidb,c4pt0r/tidb,pingcap/tidb,qiuyesuifeng/tidb,ngaut/tidb,CodeRushing/tidb,kyle-wang/tidb,kyle-wang/tidb,c4pt0r/tidb,Nify/tidb,c4pt0r/tidb,c4pt0r/tidb,ngaut/tidb,XuHuaiyu/tidb,wusphinx/tidb,pingcap/tidb,EvilMcJerkface/tidb,Cofyc/tidb,tiancaiamao/tidb,cosmtrek/tidb,pingcap/tidb,kyle-wang/tidb,ngaut/tidb,c4pt0r/tidb,mccxj/tidb,ming-relax/tidb,ngaut/tidb,coocood/tidb,Nify/tidb,c4pt0r/tidb,kyle-wang/tidb,pingcap/tidb,kyle-wang/tidb,ngaut/tidb,wusphinx/tidb,XuHuaiyu/tidb