Add assert messages to test that failed in CI

This commit is contained in:
Timothy Bish 2016-03-31 17:54:48 -04:00
parent 98165c4b69
commit a9a1498d27
1 changed files with 2 additions and 2 deletions

View File

@ -546,7 +546,7 @@ public class Stomp11Test extends StompTestSupport {
StompFrame received = stompConnection.receive();
LOG.info("Received Frame: {}", received);
assertTrue(received.getAction().equals("MESSAGE"));
assertTrue("Expected MESSAGE but got: " + received.getAction(), received.getAction().equals("MESSAGE"));
String ack = "ACK\n" + "message-id:" +
received.getHeaders().get("message-id") + "\n\n" + Stomp.NULL;
@ -554,7 +554,7 @@ public class Stomp11Test extends StompTestSupport {
StompFrame error = stompConnection.receive();
LOG.info("Received Frame: {}", error);
assertTrue(error.getAction().equals("ERROR"));
assertTrue("Expected ERROR but got: " + error.getAction(), error.getAction().equals("ERROR"));
String unsub = "UNSUBSCRIBE\n" + "destination:/queue/" + getQueueName() + "\n" +
"id:12345\n\n" + Stomp.NULL;