Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 142D0E372 for ; Fri, 8 Feb 2013 19:03:51 +0000 (UTC) Received: (qmail 97901 invoked by uid 500); 8 Feb 2013 19:03:51 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 97877 invoked by uid 500); 8 Feb 2013 19:03:51 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 97864 invoked by uid 99); 8 Feb 2013 19:03:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2013 19:03:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Feb 2013 19:03:48 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id A31FA2388847; Fri, 8 Feb 2013 19:03:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130208190328.A31FA2388847@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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(){ @Override - public boolean isInterestedInKeysBetween(String first, String second) { + public boolean isInterestedInKeysBetween(String first, String second) { return true; } @Override - public void visit(List keys, List values) { + public void visit(List keys, List 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 object, DataOutput dataOut) throws IOException { + public void writePayload(HashSet 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 readPayload(DataInput dataIn) throws IOException { + public HashSet readPayload(DataInput dataIn) throws IOException { int dataLen = dataIn.readInt(); byte[] data = new byte[dataLen]; dataIn.readFully(data);