activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject [1/6] git commit: fix off by one in this unit test
Date Thu, 16 Oct 2014 22:54:33 GMT
Repository: activemq
Updated Branches:
  refs/heads/trunk 41ca0d946 -> 51a2596c5


fix off by one in this unit test


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

Branch: refs/heads/trunk
Commit: 5f865f0f8078dfcf2ada84f7096a49bd6f52487e
Parents: 8216e7f
Author: gtully <gary.tully@gmail.com>
Authored: Thu Oct 9 23:06:50 2014 +0100
Committer: gtully <gary.tully@gmail.com>
Committed: Thu Oct 16 23:35:17 2014 +0100

----------------------------------------------------------------------
 .../test/java/org/apache/activemq/usecases/QueueBrowsingTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/5f865f0f/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/QueueBrowsingTest.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/QueueBrowsingTest.java
b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/QueueBrowsingTest.java
index 2c54455..c3d66e9 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/QueueBrowsingTest.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/usecases/QueueBrowsingTest.java
@@ -209,6 +209,6 @@ public class QueueBrowsingTest {
         }
 
         browser.close();
-        assertEquals(maxPageSize + 2, received);
+        assertEquals(maxPageSize + 1, received);
     }
 }


Mime
View raw message