public void setUp() throws Exception {
WindowCacheConfig windowCacheConfig = new WindowCacheConfig();
windowCacheConfig.setPackedGitOpenFiles(1);
- WindowCache.reconfigure(windowCacheConfig);
+ windowCacheConfig.install();
super.setUp();
}
@After
public void tearDown() throws Exception {
super.tearDown();
- WindowCacheConfig windowCacheConfig = new WindowCacheConfig();
- WindowCache.reconfigure(windowCacheConfig);
+ new WindowCacheConfig().install();
}
@Test
private static void whackCache() {
final WindowCacheConfig config = new WindowCacheConfig();
config.setPackedGitOpenFiles(1);
- WindowCache.reconfigure(config);
+ config.install();
}
private RevObject parse(final AnyObjectId id)