Return-Path: Delivered-To: apmail-camel-commits-archive@www.apache.org Received: (qmail 98635 invoked from network); 21 Oct 2010 17:51:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Oct 2010 17:51:57 -0000 Received: (qmail 82312 invoked by uid 500); 21 Oct 2010 17:51:57 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 82279 invoked by uid 500); 21 Oct 2010 17:51:57 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 82272 invoked by uid 99); 21 Oct 2010 17:51:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Oct 2010 17:51:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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; Thu, 21 Oct 2010 17:51:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 66CCD2388980; Thu, 21 Oct 2010 17:51:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1026081 - in /camel/trunk: components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBGrowIssueTest.java parent/pom.xml Date: Thu, 21 Oct 2010 17:51:00 -0000 To: commits@camel.apache.org From: davsclaus@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101021175100.66CCD2388980@eris.apache.org> Author: davsclaus Date: Thu Oct 21 17:51:00 2010 New Revision: 1026081 URL: http://svn.apache.org/viewvc?rev=1026081&view=rev Log: CAMEL-3249: Upgraded hawtdb with has an important bug fix. Modified: camel/trunk/components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBGrowIssueTest.java camel/trunk/parent/pom.xml Modified: camel/trunk/components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBGrowIssueTest.java URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBGrowIssueTest.java?rev=1026081&r1=1026080&r2=1026081&view=diff ============================================================================== --- camel/trunk/components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBGrowIssueTest.java (original) +++ camel/trunk/components/camel-hawtdb/src/test/java/org/apache/camel/component/hawtdb/HawtDBGrowIssueTest.java Thu Oct 21 17:51:00 2010 @@ -22,13 +22,11 @@ import org.apache.camel.test.junit4.Came import org.fusesource.hawtbuf.Buffer; import org.fusesource.hawtdb.api.SortedIndex; import org.fusesource.hawtdb.api.Transaction; -import org.junit.Ignore; import org.junit.Test; /** * @version $Revision$ */ -@Ignore("See CAMEL-3249") public class HawtDBGrowIssueTest extends CamelTestSupport { private HawtDBCamelCodec codec = new HawtDBCamelCodec(); @@ -70,7 +68,7 @@ public class HawtDBGrowIssueTest extends for (int i = 0; i < size; i++) { final Buffer data = codec.marshallKey(i + "-" + sb.toString()); - System.out.println("Updating " + i); + log.debug("Updating " + i); hawtDBFile.execute(new Work() { public Object execute(Transaction tx) { @@ -89,7 +87,9 @@ public class HawtDBGrowIssueTest extends }); String data = codec.unmarshallKey(out); - System.out.println(data); + log.info(data); + assertTrue("Should be 1023", data.startsWith("1023")); + assertEquals(1029, data.length()); } } Modified: camel/trunk/parent/pom.xml URL: http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=1026081&r1=1026080&r2=1026081&view=diff ============================================================================== --- camel/trunk/parent/pom.xml (original) +++ camel/trunk/parent/pom.xml Thu Oct 21 17:51:00 2010 @@ -72,7 +72,7 @@ 2.0 1.2-dev1 1.2 - 1.4 + 1.5 3.2.6.ga 3.2.1.ga 1.8.0.7