Details
-
Sub-task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
After fixing the jolokia agent problem, we can now see that these tests are genuinely failing. Every test follows the same basic pattern:
def force_repair_async_1_test(self, ): """ test forceRepairAsync(String keyspace, boolean isSequential, Collection<String> dataCenters, Collection<String> hosts, boolean primaryRange, boolean fullRepair, String... columnFamilies) """ opt = self._deprecated_repair_jmx("forceRepairAsync(java.lang.String,boolean,java.util.Collection,java.util.Collection,boolean,boolean,[Ljava.lang.String;)", ['ks', True, [], [], False, False, ["cf"]]) self.assertEqual(opt["parallelism"], "sequential", opt) self.assertEqual(opt["primary_range"], "false", opt) self.assertEqual(opt["incremental"], "true", opt) self.assertEqual(opt["job_threads"], "1", opt) self.assertEqual(opt["data_centers"], "[]", opt) self.assertEqual(opt["hosts"], "[]", opt) self.assertEqual(opt["column_families"], "[cf]", opt)
In each test, the response for opt["parallelism"] is incorrect. yukim wrote these tests, and may be able to shed light on what's going on.