cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Zhuang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13078) Increase unittest test.runners to speed up the test
Date Tue, 11 Jul 2017 17:45:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-13078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082622#comment-16082622
] 

Jay Zhuang commented on CASSANDRA-13078:
----------------------------------------

[~aweisberg] Yes, I tried that on Windows and it ran with one as expected.

Updated the patch to handle cmd execution failure:
| code | utest |
| [3.0 | https://github.com/cooldoger/cassandra/tree/13078-3.0] | [circleci#15 | https://circleci.com/gh/cooldoger/cassandra/15]
|
| [3.11 | https://github.com/cooldoger/cassandra/tree/13078-3.11] | [circleci#14 | https://circleci.com/gh/cooldoger/cassandra/14]
|
| [trunk| https://github.com/cooldoger/cassandra/tree/13078-trunk] | [circleci#13 | https://circleci.com/gh/cooldoger/cassandra/13]|

> 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
>            Assignee: Jay Zhuang
>            Priority: Minor
>         Attachments: unittest.png, unittest_time.png
>
>
> 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.4.14#64029)

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


Mime
View raw message