test: fix data race in TestDisableTxnAutoRetry (#14825)
test: fix data race in TestDisableTxnAutoRetry (#14825)


ngaut/tidb,pingcap/tidb,c4pt0r/tidb,XuHuaiyu/tidb,pingcap/tidb,pingcap/tidb,c4pt0r/tidb,XuHuaiyu/tidb,Cofyc/tidb,pingcap/tidb,ngaut/tidb,c4pt0r/tidb,Cofyc/tidb,c4pt0r/tidb,ngaut/tidb,ngaut/tidb,kyle-wang/tidb,kyle-wang/tidb,c4pt0r/tidb,kyle-wang/tidb,EvilMcJerkface/tidb,c4pt0r/tidb,kyle-wang/tidb,coocood/tidb,kyle-wang/tidb,pingcap/tidb,pingcap/tidb,EvilMcJerkface/tidb,kyle-wang/tidb,coocood/tidb,ngaut/tidb,ngaut/tidb