You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Philip Thompson (JIRA)" <ji...@apache.org> on 2015/08/04 22:22:05 UTC
[jira] [Updated] (CASSANDRA-9981) Deprecated Repair tests fail on
windows
[ https://issues.apache.org/jira/browse/CASSANDRA-9981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Philip Thompson updated CASSANDRA-9981:
---------------------------------------
Issue Type: Sub-task (was: Bug)
Parent: CASSANDRA-9418
> Deprecated Repair tests fail on windows
> ---------------------------------------
>
> Key: CASSANDRA-9981
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9981
> Project: Cassandra
> Issue Type: Sub-task
> Reporter: Philip Thompson
> Assignee: Paulo Motta
> Labels: windows
> Fix For: 2.2.x
>
>
> After fixing the jolokia agent problem, we can now see that these tests are genuinely failing. Every test follows the same basic pattern:
> {code}
> 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)
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)