Search in sources :

Example 1 with WriteDocumentReply

use of com.yahoo.documentapi.messagebus.protocol.WriteDocumentReply in project vespa by vespa-engine.

the class DocumentProcessingHandlerForkTestCase method putToZero.

private void putToZero() throws InterruptedException {
    assertTrue(sendMessage(TOZERO, createPutDocumentMessage()));
    Reply reply = driver.client().awaitReply(60, TimeUnit.SECONDS);
    assertTrue(reply instanceof WriteDocumentReply);
    assertFalse(reply.hasErrors());
}
Also used : Reply(com.yahoo.messagebus.Reply) WriteDocumentReply(com.yahoo.documentapi.messagebus.protocol.WriteDocumentReply) WriteDocumentReply(com.yahoo.documentapi.messagebus.protocol.WriteDocumentReply)

Aggregations

WriteDocumentReply (com.yahoo.documentapi.messagebus.protocol.WriteDocumentReply)1 Reply (com.yahoo.messagebus.Reply)1