Add missing @Test annotation in RepositoryCacheTest

Change-Id: I25a9b294084f7b9769efa67001a4973647da4079
Signed-off-by: Hugo Arès <hugo.ares@ericsson.com>
This commit is contained in:
Hugo Arès 2016-06-01 14:54:53 -04:00
parent 525baa1213
commit 1c1885b81d
1 changed files with 1 additions and 0 deletions

View File

@ -195,6 +195,7 @@ public void testRepositoryUsageCountWithRegisteredRepository() {
assertEquals(0, ((Repository) db).useCnt.get());
}
@Test
public void testRepositoryUnregisteringWhenClosing() throws Exception {
FileKey loc = FileKey.exact(db.getDirectory(), db.getFS());
Repository d2 = RepositoryCache.open(loc);