You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2016/11/23 17:43:20 UTC

[19/48] activemq-artemis git commit: Fix StompV12Test.testHeaderRepetitive

Fix StompV12Test.testHeaderRepetitive


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/1e7b0ed6
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/1e7b0ed6
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/1e7b0ed6

Branch: refs/heads/ARTEMIS-780
Commit: 1e7b0ed6fafc5d58e3ce6f98d100eedb2cfb4002
Parents: 2f54575
Author: jbertram <jb...@apache.com>
Authored: Tue Nov 15 17:16:40 2016 -0600
Committer: jbertram <jb...@apache.com>
Committed: Wed Nov 23 09:04:34 2016 -0600

----------------------------------------------------------------------
 .../artemis/tests/integration/stomp/v12/StompV12Test.java        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/1e7b0ed6/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/v12/StompV12Test.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/v12/StompV12Test.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/v12/StompV12Test.java
index dc8cea0..d30ba53 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/v12/StompV12Test.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/stomp/v12/StompV12Test.java
@@ -378,7 +378,7 @@ public class StompV12Test extends StompTestBase {
       //subscribe
       StompClientConnection newConn = StompClientConnectionFactory.createClientConnection("1.2", hostname, port);
       newConn.connect(defUser, defPass);
-      subscribe(newConn, "a-sub");
+      subscribe(newConn, "a-sub", null, null, true);
 
       frame = newConn.receiveFrame();
 
@@ -389,7 +389,7 @@ public class StompV12Test extends StompTestBase {
       Assert.assertEquals("value1", frame.getHeader("foo"));
 
       //unsub
-      unsubscribe(newConn, "a-sub");
+      unsubscribe(newConn, "a-sub", true);
 
       newConn.disconnect();