mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
mvcc: fix typo
This commit is contained in:
parent
588c021ddb
commit
6968c45f58
@ -718,7 +718,7 @@ func TestConcurrentReadTxAndWrite(t *testing.T) {
|
|||||||
numOfWrites = 100
|
numOfWrites = 100
|
||||||
maxNumOfPutsPerWrite = 10
|
maxNumOfPutsPerWrite = 10
|
||||||
committedKVs kvs // committedKVs records the key-value pairs written by the finished Write Txns
|
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()
|
b, tmpPath := backend.NewDefaultTmpBackend()
|
||||||
s := NewStore(zap.NewExample(), b, &lease.FakeLessor{}, nil, StoreConfig{})
|
s := NewStore(zap.NewExample(), b, &lease.FakeLessor{}, nil, StoreConfig{})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user