Thread.sleep(500);
HostTcpClient client = new HostTcpClient(Constants.SERVER_HOSTNAME, server_port);
client.deployOperation(new DeployRequest());
client.collectLogFilesOperation(new LogFilesRequest());
virtualMachineTcpServer.shutdown();
}
@Test(expected = IllegalStateException.class)
public void testExceptionCommunication() throws Exception {
Protocol protocol = new Protocol() {