You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jay Zhuang (JIRA)" <ji...@apache.org> on 2017/06/06 03:47:18 UTC

[jira] [Updated] (CASSANDRA-13078) Increase unittest test.runners to speed up the test

     [ https://issues.apache.org/jira/browse/CASSANDRA-13078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Zhuang updated CASSANDRA-13078:
-----------------------------------
    Description: The unittest takes very long time to run (about 40 minutes on a macbook). By overriding the [{{test.runners}}|https://github.com/apache/cassandra/blob/cassandra-3.0/build.xml#L62], it could speed up the test, especially on powerful servers. Currently, it's set to 1 by default. I would like to propose to set the {{test.runners}} by the [number of CPUs dynamically|http://www.iliachemodanov.ru/en/blog-en/15-tools/ant/48-get-number-of-processors-in-ant-en]. For example, {{runners = num_cores / 4}}. What do you guys think?  (was: The unittest takes very long time to run (about 50 minutes on a macbook). By overriding the [{{test.runners}}|https://github.com/apache/cassandra/blob/cassandra-3.0/build.xml#L62], it could speed up the test, especially on powerful servers. Currently, it's set to 1 by default. I would like to propose to set the {{test.runners}} by the [number of CPUs dynamically|http://www.iliachemodanov.ru/en/blog-en/15-tools/ant/48-get-number-of-processors-in-ant-en]. For example, {{runners = num_cores / 4}}. What do you guys think?)

> Increase unittest test.runners to speed up the test
> ---------------------------------------------------
>
>                 Key: CASSANDRA-13078
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13078
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Testing
>            Reporter: Jay Zhuang
>
> The unittest takes very long time to run (about 40 minutes on a macbook). By overriding the [{{test.runners}}|https://github.com/apache/cassandra/blob/cassandra-3.0/build.xml#L62], it could speed up the test, especially on powerful servers. Currently, it's set to 1 by default. I would like to propose to set the {{test.runners}} by the [number of CPUs dynamically|http://www.iliachemodanov.ru/en/blog-en/15-tools/ant/48-get-number-of-processors-in-ant-en]. For example, {{runners = num_cores / 4}}. What do you guys think?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org