diff mbox

How to compile Java-Rados.

Message ID CAPrxi5_W_AghtjXLHNBQhv3Zbk_AyTBJOnDtvFYk9dh3H9VVrw@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Noah Watkins July 18, 2012, 3:42 p.m. UTC
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 <ramu.freesystems@gmail.com> 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

Comments

ramu July 19, 2012, 3:38 a.m. UTC | #1
Hi Noah,

Thank u for your reply,it is working fine but Iam getting one more error
in terminal is,BUILD FAILED
/home/vu/java-rados/build.xml:134: Test IOContextTest failed

Total time: 43 seconds

and in TEST-IOContextTest.txt file the error is,

Testsuite: IOContextTest
Tests run: 11, Failures: 1, Errors: 0, Time elapsed: 32.302 sec

Testcase: test_toString took 1.791 sec
Testcase: test_getCluster took 2.116 sec
Testcase: test_getPoolStats took 2.364 sec
Testcase: test_setLocatorKey took 2.046 sec
Testcase: test_write took 3.109 sec
Testcase: test_writeFull took 3.188 sec
Testcase: test_getLastVersion took 2.46 sec
Testcase: test_append took 3.505 sec
Testcase: test_truncate took 3.423 sec
Testcase: test_getsetAttribute took 3.161 sec
Testcase: test_getObjects took 5.101 sec
        FAILED

junit.framework.AssertionFailedError:
        at IOContextTest.test_getObjects(Unknown Source)

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
ramu July 20, 2012, 5:21 a.m. UTC | #2
Hi Noah,

Thank you for fixes and suggestions of compilation of java-rados ,
It's working fine now.

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
diff mbox

Patch

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);