| | |
| | | |
| | | |
| | | import java.util.ArrayList; |
| | | |
| | | import org.opends.server.TestCaseUtils; |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.testng.annotations.BeforeClass; |
| | | import org.opends.server.admin.std.meta.*; |
| | | import org.opends.server.admin.std.server.FIFOEntryCacheCfg; |
| | | import org.opends.server.api.Backend; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.types.DN; |
| | | import org.opends.server.types.Entry; |
| | |
| | | import org.testng.annotations.AfterGroups; |
| | | import org.testng.annotations.BeforeGroups; |
| | | import org.testng.annotations.Test; |
| | | |
| | | import static org.testng.Assert.*; |
| | | |
| | | |
| | |
| | | "Expected empty cache. " + "Cache contents:" + ServerConstants.EOL + |
| | | cache.toVerboseString()); |
| | | |
| | | Backend b = DirectoryServer.getBackend(DN.valueOf("o=test")); |
| | | String b = DirectoryServer.getBackend(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()); |
| | | |
| | | Backend b = DirectoryServer.getBackend(DN.valueOf("o=test")); |
| | | String b = DirectoryServer.getBackend(DN.valueOf("o=test")).getBackendID(); |
| | | |
| | | for(int i = 0; i < super.NUMTESTENTRIES; i++ ) { |
| | | super.cache.putEntry(super.testEntriesList.get(i), b, i); |