qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kw...@apache.org
Subject qpid-broker-j git commit: QPID-7775: Fix failing test
Date Mon, 15 May 2017 20:40:39 GMT
Repository: qpid-broker-j
Updated Branches:
  refs/heads/master 501aa8919 -> 9345d2d79


QPID-7775: Fix failing test


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/9345d2d7
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/9345d2d7
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/9345d2d7

Branch: refs/heads/master
Commit: 9345d2d795b6a124906b8a0f8c68ab51a4b379cb
Parents: 501aa89
Author: Keith Wall <keith.wall@gmail.com>
Authored: Mon May 15 21:31:01 2017 +0100
Committer: Keith Wall <keith.wall@gmail.com>
Committed: Mon May 15 21:32:21 2017 +0100

----------------------------------------------------------------------
 .../org/apache/qpid/server/protocol/v0_10/ServerSessionTest.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/9345d2d7/broker-plugins/amqp-0-10-protocol/src/test/java/org/apache/qpid/server/protocol/v0_10/ServerSessionTest.java
----------------------------------------------------------------------
diff --git a/broker-plugins/amqp-0-10-protocol/src/test/java/org/apache/qpid/server/protocol/v0_10/ServerSessionTest.java
b/broker-plugins/amqp-0-10-protocol/src/test/java/org/apache/qpid/server/protocol/v0_10/ServerSessionTest.java
index c0dba92..ca26e8a 100644
--- a/broker-plugins/amqp-0-10-protocol/src/test/java/org/apache/qpid/server/protocol/v0_10/ServerSessionTest.java
+++ b/broker-plugins/amqp-0-10-protocol/src/test/java/org/apache/qpid/server/protocol/v0_10/ServerSessionTest.java
@@ -40,6 +40,7 @@ import org.apache.qpid.server.model.Transport;
 import org.apache.qpid.server.model.VirtualHost;
 import org.apache.qpid.server.model.port.AmqpPort;
 import org.apache.qpid.server.model.BrokerTestHelper;
+import org.apache.qpid.server.protocol.v0_10.transport.Header;
 import org.apache.qpid.test.utils.QpidTestCase;
 import org.apache.qpid.server.protocol.v0_10.transport.Binary;
 import org.apache.qpid.server.protocol.v0_10.transport.ExecutionErrorCode;
@@ -130,6 +131,7 @@ public class ServerSessionTest extends QpidTestCase
 
         MessageTransfer xfr = new MessageTransfer();
         xfr.setBody(new byte[2048]);
+        xfr.setHeader(new Header(null, null));
         delegate.messageTransfer(session, xfr);
 
         assertFalse("No methods invoked - expecting at least 1", invokedMethods.isEmpty());


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message