activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [10/47] activemq-artemis git commit: ARTEMIS-365 - [Artemis Testsuite] AddressControlTest#testGetNumberOfPages fails
Date Mon, 08 Feb 2016 17:10:57 GMT
ARTEMIS-365 - [Artemis Testsuite] AddressControlTest#testGetNumberOfPages fails


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

Branch: refs/heads/refactor-openwire
Commit: efffe9c2638bd7e7b27f3068085c6352d155bffd
Parents: b6ca733
Author: Erich Duda <eduda@redhat.com>
Authored: Mon Feb 8 14:16:59 2016 +0100
Committer: jbertram <jbertram@apache.org>
Committed: Mon Feb 8 10:40:50 2016 -0600

----------------------------------------------------------------------
 .../tests/integration/management/AddressControlTest.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/efffe9c2/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/AddressControlTest.java
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/AddressControlTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/AddressControlTest.java
index 67a0f59..88264f3 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/AddressControlTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/AddressControlTest.java
@@ -206,7 +206,7 @@ public class AddressControlTest extends ManagementTestBase {
 
       for (int i = 0; i < NUMBER_MESSAGES_BEFORE_PAGING; i++) {
          ClientMessage msg = session.createMessage(true);
-         msg.getBodyBuffer().writeBytes(new byte[512]);
+         msg.getBodyBuffer().writeBytes(new byte[896]);
          producer.send(msg);
       }
       session.commit();
@@ -215,21 +215,21 @@ public class AddressControlTest extends ManagementTestBase {
       Assert.assertEquals(0, addressControl.getNumberOfPages());
 
       ClientMessage msg = session.createMessage(true);
-      msg.getBodyBuffer().writeBytes(new byte[512]);
+      msg.getBodyBuffer().writeBytes(new byte[896]);
       producer.send(msg);
 
       session.commit();
       Assert.assertEquals(1, addressControl.getNumberOfPages());
 
       msg = session.createMessage(true);
-      msg.getBodyBuffer().writeBytes(new byte[512]);
+      msg.getBodyBuffer().writeBytes(new byte[896]);
       producer.send(msg);
 
       session.commit();
       Assert.assertEquals(1, addressControl.getNumberOfPages());
 
       msg = session.createMessage(true);
-      msg.getBodyBuffer().writeBytes(new byte[512]);
+      msg.getBodyBuffer().writeBytes(new byte[896]);
       producer.send(msg);
 
       session.commit();


Mime
View raw message