activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject [2/3] activemq git commit: reduce test duration - v.slow for 60k messages of size 30k -resuce to ~30s b/c it was excceeding 10mins - large linear work load not great for leveldb
Date Tue, 16 Jun 2015 14:55:05 GMT
reduce test duration - v.slow for 60k messages of size 30k -resuce to ~30s b/c it was excceeding
10mins - large linear work load not great for leveldb


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

Branch: refs/heads/master
Commit: 1b08858a3727fd35d9ee072a97c32f0c1270244c
Parents: c231039
Author: gtully <gary.tully@gmail.com>
Authored: Tue Jun 16 11:36:55 2015 +0100
Committer: gtully <gary.tully@gmail.com>
Committed: Tue Jun 16 15:04:13 2015 +0100

----------------------------------------------------------------------
 .../src/test/java/org/apache/activemq/bugs/AMQ4677Test.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/1b08858a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4677Test.java
----------------------------------------------------------------------
diff --git a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4677Test.java b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4677Test.java
index fd80690..41bf51c 100644
--- a/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4677Test.java
+++ b/activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4677Test.java
@@ -95,8 +95,8 @@ public class AMQ4677Test {
         assertNotNull(levelDBView);
         levelDBView.compact();
 
-        final int SIZE = 6 * 1024 * 5;
-        final int MSG_COUNT = 60000;
+        final int SIZE = 10 * 1024;
+        final int MSG_COUNT = 30000;    // very slow consuming 60k messages of size 30k
         final CountDownLatch done = new CountDownLatch(MSG_COUNT);
 
         byte buffer[] = new byte[SIZE];


Mime
View raw message