[
https://issues.apache.org/jira/browse/CASSANDRA-9981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14654401#comment-14654401
]
Yuki Morishita commented on CASSANDRA-9981:
-------------------------------------------
I forgot windows does not support sequential repair, so Cassandra automatically
runs with parallel repair.
We need to change dtest so that on windows result needs to be changed.
Is there a way to detect dtest is running on windows?
> 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)