assertTrue(serverECL.isConnected());
// receive change 1 from suffix 1
ReplicationMsg msg;
msg = serverECL.receive();
ECLUpdateMsg eclu = (ECLUpdateMsg)msg;
UpdateMsg u = eclu.getUpdateMsg();
debugInfo(tn, "RESULT:" + u.getChangeNumber() + " " + eclu.getCookie());
assertTrue(u.getChangeNumber().equals(cn1), "RESULT:" + u.getChangeNumber());
assertTrue(eclu.getCookie().equalsTo(new MultiDomainServerState(
"o=test:"+delMsg1.getChangeNumber()+";o=test2:;")));
// receive change 2 from suffix 2
msg = serverECL.receive();
eclu = (ECLUpdateMsg)msg;
u = eclu.getUpdateMsg();
debugInfo(tn, "RESULT:" + u.getChangeNumber());
assertTrue(u.getChangeNumber().equals(cn2), "RESULT:" + u.getChangeNumber());
assertTrue(eclu.getCookie().equalsTo(new MultiDomainServerState(
"o=test2:"+delMsg2.getChangeNumber()+";"+
"o=test:"+delMsg1.getChangeNumber()+";")));
// receive Done
msg = serverECL.receive();