{
String tn = "ECLPurgeDraftCNDbAfterChangelogClear";
debugInfo(tn, "Starting test\n\n");
try
{
DraftCNDbHandler draftdb = replicationServer.getDraftCNDbHandler();
assertEquals(draftdb.count(), 8);
draftdb.setPurgeDelay(1000);
// Now Purge the changelog db
this.replicationServer.clearDb();
// Expect changes purged from the changelog db to be sometimes
// also purged from the DraftCNDb.
while(draftdb.count()>0)
{
debugInfo(tn, "draftdb.count="+draftdb.count());
sleep(200);
}
}
catch(Exception e)
{