Skip to content

Commit

Permalink
test for createlock
Browse files Browse the repository at this point in the history
Signed-off-by: slayer321 <sachin.maurya7666@gmail.com>
  • Loading branch information
slayer321 committed Nov 27, 2023
1 parent 003992f commit 280cdec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/storage/badger/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ func TestForCodecov(t *testing.T) {
_, err = f.CreateDependencyReader()
assert.NoError(t, err)

lock, err := f.CreateLock()
assert.NoError(t, err)
assert.NotNil(t, lock)

// Now, remove the badger directories
err = os.RemoveAll(f.tmpDir)
assert.NoError(t, err)
Expand Down

0 comments on commit 280cdec

Please sign in to comment.