Skip to content

Commit

Permalink
sqlite: close backup database in test
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Sep 11, 2024
1 parent 2521c6b commit 475161e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions persist/sqlite/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ func TestBackup(t *testing.T) {
if err != nil {
t.Fatal(err)
}
defer backup.Close()

// check that the data was backed up correctly
restoredVolume, err := backup.Volume(id)
Expand Down

0 comments on commit 475161e

Please sign in to comment.