From patchwork Wed Jul 18 15:42:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Noah Watkins X-Patchwork-Id: 1211811 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 899343FD4F for ; Wed, 18 Jul 2012 15:42:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754348Ab2GRPmk (ORCPT ); Wed, 18 Jul 2012 11:42:40 -0400 Received: from mail-yw0-f46.google.com ([209.85.213.46]:53192 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754109Ab2GRPmj (ORCPT ); Wed, 18 Jul 2012 11:42:39 -0400 Received: by yhmm54 with SMTP id m54so1691067yhm.19 for ; Wed, 18 Jul 2012 08:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=jvnRHuaQKEF5Zm6v7gjwyos/IJVbIpK1mfXyXJwut2c=; b=SHNYQaeEHwh1wPHRdVWT0ZRWuSCG0610XOK1Oi10p61H1OwyWKCVQD4DsVDgxZdwHM 57FrB5Qo1IockU7qhFRWCBdGxqR4mmuFFgo1v5sMcDqsMYtCIBD0to4hOAFj3qbBsh3I DvL7RkbUZWOgt9y5pvLm0NP9poTkATX6tk1zQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=jvnRHuaQKEF5Zm6v7gjwyos/IJVbIpK1mfXyXJwut2c=; b=TY3aJwBw5vrjxpa006tDlur6SJt5hr+YTkxG0Bj/bdc96I6obWjWgbaU5PLYQmea6p uYQ7ucAvM3gqwR69wNfsvJ1SZqncQyKF3VlBUT+AQ2SQYmSCjT6NjWrpM/9dcdZxY7In GR/7mxaCFk50mRRtDPYdhJP9zHdzoK8TLRic0qXgmK/TG8/wY2p5s+3K86r7QYzqpvyP 2O+0/MkWZjH1psT0PwmEKOrJtHhLAhPDWZV1TVwUO3TrglH8VXMyRU9sOG9o+67eRK9o paaF8FeJUclBOJNxRQ+GMDm4sLtcVnWILqjZwxL4oOxOGnysNOhRPjdksJssrT0IYngt wExw== MIME-Version: 1.0 Received: by 10.50.149.134 with SMTP id ua6mr2528985igb.11.1342626158713; Wed, 18 Jul 2012 08:42:38 -0700 (PDT) Received: by 10.64.61.104 with HTTP; Wed, 18 Jul 2012 08:42:38 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 Jul 2012 08:42:38 -0700 X-Google-Sender-Auth: 5uAvmd55VZdQSBMUd-wnryjUVJU Message-ID: Subject: Re: How to compile Java-Rados. From: Noah Watkins To: ramu Cc: ceph-devel@vger.kernel.org X-Gm-Message-State: ALoCoQmX/NZ2h4uUoFFJk0Nn5tQr6FKsjPHV7Uw51XBT4/I6SYBCqU711BFV6tOxxZGEBojHB/hD Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org Please 'git pull' to grab the following change which solved the same problem in my location tree: On Tue, Jul 17, 2012 at 11:24 PM, ramu wrote: > [junit] Running ClusterStatsTest > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.044 sec > [junit] Running ClusterTest > [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 6.569 sec good, no errors. > > BUILD FAILED > /home/vutp/java-rados/build.xml:134: Test ClusterTest failed > > Total time: 10 seconds > > -->And also two txt files generated in Java-Rados directory one is TEST- > ClusterStatsTest.txt in this file the text is , > Testsuite: ClusterStatsTest > Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.044 sec no errors here either. > Testcase: test_ClusterStats took 0.027 sec > > -->and one more txt file is TEST-ClusterTest.txt in this file the text is , > > Testsuite: ClusterTest > Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 6.569 sec > > Testcase: test_ConfigOption took 0.026 sec > FAILED > > junit.framework.AssertionFailedError: > at ClusterTest.test_ConfigOption(Unknown Source) So, it looks like we are down to one error? > > Testcase: test_getClusterStats took 0.005 sec > Testcase: test_getInstancePointer took 0.004 sec > Testcase: test_getVersion took 0.005 sec > Testcase: test_PoolOperations took 1.821 sec > Testcase: test_openIOContext took 2.134 sec > Testcase: test_PoolList took 2.543 sec > > Thanks, > Ramu. > > > > > > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html --- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/src/test/ClusterTest.java b/src/test/ClusterTest.java index 9b6bcb6..8b83bdd 100644 --- a/src/test/ClusterTest.java +++ b/src/test/ClusterTest.java @@ -25,13 +25,13 @@ public class ClusterTest { String val1, val2; /* set option to 2 and check that it set */ - val1 = "2"; + val1 = "true"; cluster.setConfigOption(opt, val1); val2 = cluster.getConfigOption(opt); assertTrue(val1.compareTo(val2) == 0); /* make sure the option wasn't already 2 */ - val1 = "1"; + val1 = "false"; cluster.setConfigOption(opt, val1); val2 = cluster.getConfigOption(opt); assertTrue(val1.compareTo(val2) == 0);