From 6968c45f587594653f7e55d87ac2051c2e271373 Mon Sep 17 00:00:00 2001 From: Binacs Lee Date: Fri, 18 Sep 2020 06:50:56 +0000 Subject: [PATCH] mvcc: fix typo --- mvcc/kvstore_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvcc/kvstore_test.go b/mvcc/kvstore_test.go index f8adae85991..d61f392be30 100644 --- a/mvcc/kvstore_test.go +++ b/mvcc/kvstore_test.go @@ -718,7 +718,7 @@ func TestConcurrentReadTxAndWrite(t *testing.T) { numOfWrites = 100 maxNumOfPutsPerWrite = 10 committedKVs kvs // committedKVs records the key-value pairs written by the finished Write Txns - mu sync.Mutex // mu protectes committedKVs + mu sync.Mutex // mu protects committedKVs ) b, tmpPath := backend.NewDefaultTmpBackend() s := NewStore(zap.NewExample(), b, &lease.FakeLessor{}, nil, StoreConfig{})