| | |
| | | * If the environment could not be set up. |
| | | */ |
| | | @BeforeClass |
| | | @Override |
| | | public void setUp() throws Exception |
| | | { |
| | | super.setUp(); |
| | |
| | | ECLCompatTestLimits(1,8, true); |
| | | |
| | | // Test first and last draft changenumber, a dd a new change, do not |
| | | // search again the ECL, but search fro first and last |
| | | // search again the ECL, but search for first and last |
| | | ECLCompatTestLimitsAndAdd(1,8, ts); |
| | | |
| | | // Test DraftCNDb is purged when replication change log is purged |
| | |
| | | ReplicationBroker s1test2 = null; |
| | | ReplicationBroker s2test = null; |
| | | ReplicationBroker s2test2 = null; |
| | | |
| | | |
| | | try |
| | | { |
| | | // Initialize a second test backend |
| | |
| | | if (s1 != null) |
| | | { |
| | | try { s1.close(); } catch (Exception ignored) {}; |
| | | while (!s1.isClosed()) sleep(100); |
| | | while (!s1.isClosed()) sleep(100); |
| | | } |
| | | if (s2 != null) |
| | | { |
| | |
| | | |
| | | // Initialize a second test backend |
| | | Backend backend2 = null; |
| | | |
| | | |
| | | try |
| | | { |
| | | backend2 = initializeTestBackend(true, TEST_ROOT_DN_STRING2, |
| | | TEST_BACKEND_ID2); |
| | | |
| | | |
| | | // -- |
| | | s1test = openReplicationSession( |
| | | DN.decode(TEST_ROOT_DN_STRING), 1201, |