Skip to content

Commit e9ca42a

Browse files
AlexHentschelzhangchiqing
authored andcommitted
moved lock manager right next to database for better visibility
1 parent 126bcef commit e9ca42a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/common/follower/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ import (
4343
// Each worker submits batchesPerWorker*blocksPerBatch blocks
4444
// In total we will submit workers*batchesPerWorker*blocksPerBatch
4545
func TestFollowerHappyPath(t *testing.T) {
46-
lockManager := storage.NewTestingLockManager()
4746
allIdentities := unittest.CompleteIdentitySet()
4847
rootSnapshot := unittest.RootSnapshotFixture(allIdentities)
4948
unittest.RunWithBadgerDB(t, func(db *badger.DB) {
49+
lockManager := storage.NewTestingLockManager()
5050
metrics := metrics.NewNoopCollector()
5151
tracer := trace.NewNoopTracer()
5252
log := unittest.Logger()

0 commit comments

Comments
 (0)