| | |
| | | |
| | | protected static final String EXAMPLE_DN = "dc=example,dc=com"; |
| | | |
| | | private File reSyncTempDir; |
| | | |
| | | /** |
| | | * Set up the environment for performing the tests in this Class. |
| | | * |
| | |
| | | { |
| | | super.setUp(); |
| | | |
| | | reSyncTempDir = TestCaseUtils.createTemporaryDirectory("resynctest"); |
| | | |
| | | /* |
| | | * - Configure replication |
| | | * - Do some changes. |
| | |
| | | // we do test something. |
| | | connection.processDelete(DN.decode("dc=fooUniqueName2," + EXAMPLE_DN)); |
| | | |
| | | String buildRoot = System.getProperty(TestCaseUtils.PROPERTY_BUILD_ROOT); |
| | | String path = "ReSynchTest"; |
| | | String path = reSyncTempDir.getAbsolutePath() + File.pathSeparator + |
| | | "ReSynchTest"; |
| | | |
| | | task("dn: ds-task-id=" + UUID.randomUUID() |
| | | + ",cn=Scheduled Tasks,cn=Tasks\n" |
| | |
| | | // Clear the backend |
| | | LDAPReplicationDomain.clearJEBackend(false, "userRoot", EXAMPLE_DN); |
| | | |
| | | TestCaseUtils.deleteDirectory(reSyncTempDir); |
| | | |
| | | paranoiaCheck(); |
| | | } |
| | | } |