activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1444193 - /activemq/trunk/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/disk/index/BTreeIndexTest.java
Date Fri, 08 Feb 2013 19:03:28 GMT
Author: tabish
Date: Fri Feb  8 19:03:28 2013
New Revision: 1444193

URL: http://svn.apache.org/r1444193
Log:
apply patch for: https://issues.apache.org/jira/browse/AMQ-4306

Modified:
    activemq/trunk/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/disk/index/BTreeIndexTest.java

Modified: activemq/trunk/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/disk/index/BTreeIndexTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/disk/index/BTreeIndexTest.java?rev=1444193&r1=1444192&r2=1444193&view=diff
==============================================================================
--- activemq/trunk/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/disk/index/BTreeIndexTest.java
(original)
+++ activemq/trunk/activemq-kahadb-store/src/test/java/org/apache/activemq/store/kahadb/disk/index/BTreeIndexTest.java
Fri Feb  8 19:03:28 2013
@@ -181,11 +181,11 @@ public class BTreeIndexTest extends Inde
 
         index.visit(tx, new BTreeVisitor<String, Long>(){
             @Override
-			public boolean isInterestedInKeysBetween(String first, String second) {
+            public boolean isInterestedInKeysBetween(String first, String second) {
                 return true;
             }
             @Override
-			public void visit(List<String> keys, List<Long> values) {
+            public void visit(List<String> keys, List<Long> values) {
             }
         });
 
@@ -236,7 +236,7 @@ public class BTreeIndexTest extends Inde
         }
     }
 
-    @Test(timeout=300000)
+    @Test(timeout=900000)
     public void testRandomAddRemove() throws Exception {
 
         createPageFileAndIndex(1024);
@@ -565,7 +565,7 @@ public class BTreeIndexTest extends Inde
         final static HashSetStringMarshaller INSTANCE = new HashSetStringMarshaller();
 
         @Override
-		public void writePayload(HashSet<String> object, DataOutput dataOut) throws IOException
{
+        public void writePayload(HashSet<String> object, DataOutput dataOut) throws
IOException {
             ByteArrayOutputStream baos = new ByteArrayOutputStream();
             ObjectOutputStream oout = new ObjectOutputStream(baos);
             oout.writeObject(object);
@@ -577,7 +577,7 @@ public class BTreeIndexTest extends Inde
         }
 
         @Override
-		public HashSet<String> readPayload(DataInput dataIn) throws IOException {
+        public HashSet<String> readPayload(DataInput dataIn) throws IOException {
             int dataLen = dataIn.readInt();
             byte[] data = new byte[dataLen];
             dataIn.readFully(data);



Mime
View raw message