assertTrue("Invalid msgs returned", msgs != null);
assertEquals("Invalid number of messages returned", 1, msgs.length);
log.info("SUCCESS: Got message:" + msgs[0].getKey());
System.err.println("->Trying to erase the message at the slave node ...");
EraseKey ek = new EraseKey(glob, oid);
ek.setDomain(domain);
EraseQos eq = new EraseQos(glob);
bilboCon.erase(ek.toXml(), eq.toXml());
// Check if erased ...
gk = new GetKey(glob, oid);
msgs = heronCon.get(gk.toXml(), null);
assertTrue("Invalid msgs returned", msgs != null);