Please 'git pull' to grab the following change which solved the same
problem in my location tree:
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);
On Tue, Jul 17, 2012 at 11:24 PM, ramu <[email protected]> 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 [email protected]
> 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html