Add missing @Test annotation in RepositoryCacheTest
Change-Id: I25a9b294084f7b9769efa67001a4973647da4079 Signed-off-by: Hugo Arès <hugo.ares@ericsson.com>
This commit is contained in:
parent
525baa1213
commit
1c1885b81d
|
@ -195,6 +195,7 @@ public void testRepositoryUsageCountWithRegisteredRepository() {
|
||||||
assertEquals(0, ((Repository) db).useCnt.get());
|
assertEquals(0, ((Repository) db).useCnt.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
public void testRepositoryUnregisteringWhenClosing() throws Exception {
|
public void testRepositoryUnregisteringWhenClosing() throws Exception {
|
||||||
FileKey loc = FileKey.exact(db.getDirectory(), db.getFS());
|
FileKey loc = FileKey.exact(db.getDirectory(), db.getFS());
|
||||||
Repository d2 = RepositoryCache.open(loc);
|
Repository d2 = RepositoryCache.open(loc);
|
||||||
|
|
Loading…
Reference in New Issue