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

This commit is contained in:
gtully 2015-06-16 11:36:55 +01:00
parent c2310391b9
commit 1b08858a37
1 changed files with 2 additions and 2 deletions

View File

@ -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];