CompareRequestProtocolOp compareRequest =
new CompareRequestProtocolOp(ByteString.valueOf("o=test"), "o",
ByteString.valueOf("test"));
message = new LDAPMessage(2, compareRequest,
DelayPreOpPlugin.createDelayControlList(5000));
w.writeMessage(message);
// Send the abandon request to the server and wait a few seconds to ensure
// it has completed before closing the connection.
AbandonRequestProtocolOp abandonRequest = new AbandonRequestProtocolOp(2);