From e0c8631acb9ec988430e7747bb2abc549c34d837 Mon Sep 17 00:00:00 2001 From: Chao Wang Date: Mon, 15 Nov 2021 14:07:34 +0800 Subject: [PATCH] *: fix unstable test testChecksumSuite.TestChecksum --- br/pkg/mock/mock_cluster.go | 1 + 1 file changed, 1 insertion(+) diff --git a/br/pkg/mock/mock_cluster.go b/br/pkg/mock/mock_cluster.go index 24e78877939d7..c60f4764b4ffc 100644 --- a/br/pkg/mock/mock_cluster.go +++ b/br/pkg/mock/mock_cluster.go @@ -108,6 +108,7 @@ func (mock *Cluster) Start() error { cfg.Store = "tikv" cfg.Status.StatusPort = uint(statusPort) cfg.Status.ReportStatus = true + cfg.Socket = fmt.Sprintf("/tmp/tidb-mock-%d.sock", time.Now().UnixNano()) svr, err := server.NewServer(cfg, mock.TiDBDriver) if err != nil {