client.sendMessage(buf.getBuffer(), false);
}
Thread.sleep(1000);
client.sendSuspendMessagesComplete();
SgsTestNode newNode = additionalNodes.get(newNodeHost);
client.waitForRelocationNotification(newNode.getAppPort());
client.validateMessageSequence(
client.sessionListenerReceivedMessages, numMessages, 0);
assertTrue(client.clientReceivedMessages.isEmpty());
client.relocate(newNode.getAppPort(), true, true);
client.waitForClientToReceiveExpectedMessages(numMessages);