Skip to content
Permalink
Browse files
Fixed some incorrect log statements.
  • Loading branch information
veithen committed May 15, 2010
1 parent 9f61364 commit 84215aba2024678cac30ff94d8b01abdb9da622b
Showing 1 changed file with 4 additions and 4 deletions.
@@ -54,16 +54,16 @@ protected void doRunTest() throws Throwable {
// contentTypeMode == ContentTypeMode.TRANSPORT ? contentType : null);
log.debug("Sending message");
client.sendMessage(options, contentType, expected);
log.debug("Message sent; waiting for response");
log.debug("Message sent; waiting for endpoint to receive message");
IncomingMessage<M> actual = endpoint.waitForMessage(8000);
if (actual == null) {
log.debug("No response received");
log.debug("Message NOT received by endpoint; failing test");
fail("Failed to get message");
}

log.debug("Response received; checking message data");
log.debug("Message received by endpoint; checking message data");
checkMessageData(expected, actual.getData());
log.debug("Response has expected content");
log.debug("Message received by endpoint has expected content");
}

protected abstract M prepareMessage() throws Exception;

0 comments on commit 84215ab

Please sign in to comment.