| | |
| | | import org.testng.annotations.BeforeClass; |
| | | import org.forgerock.opendj.server.config.meta.*; |
| | | import org.forgerock.opendj.server.config.server.FIFOEntryCacheCfg; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.forgerock.opendj.ldap.DN; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.util.ServerConstants; |
| | |
| | | "Expected empty cache. " + "Cache contents:" + ServerConstants.EOL + |
| | | cache.toVerboseString()); |
| | | |
| | | String b = DirectoryServer.getLocalBackend(DN.valueOf("o=test")).getBackendID(); |
| | | String b = |
| | | TestCaseUtils.getServerContext().getBackendConfigManager().getLocalBackend(DN.valueOf("o=test")).getBackendID(); |
| | | |
| | | for(int i = 0; i < super.NUMTESTENTRIES; i++ ) { |
| | | super.cache.putEntry(super.testEntriesList.get(i), b, i); |
| | |
| | | "Expected empty cache. " + "Cache contents:" + ServerConstants.EOL + |
| | | cache.toVerboseString()); |
| | | |
| | | String b = DirectoryServer.getLocalBackend(DN.valueOf("o=test")).getBackendID(); |
| | | String b = |
| | | TestCaseUtils.getServerContext().getBackendConfigManager().getLocalBackend(DN.valueOf("o=test")).getBackendID(); |
| | | |
| | | for(int i = 0; i < super.NUMTESTENTRIES; i++ ) { |
| | | super.cache.putEntry(super.testEntriesList.get(i), b, i); |