diff options
Diffstat (limited to 'test/backupstore')
-rw-r--r-- | test/backupstore/testbackupstore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/backupstore/testbackupstore.cpp b/test/backupstore/testbackupstore.cpp index 2e8f9f37..a39fd1ff 100644 --- a/test/backupstore/testbackupstore.cpp +++ b/test/backupstore/testbackupstore.cpp @@ -817,6 +817,11 @@ bool test_temporary_refcount_db_is_independent() BackupStoreException, UnknownObjectRefCountRequested); temp->Discard(); + // Need to delete perm object so it doesn't keep a filehandle open, + // preventing tearDown from rewriting the refcount DB and thus causing + // test failure. + perm.reset(); + return teardown_test_backupstore(); } |