[
https://issues.apache.org/jira/browse/CASSANDRA-5430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625413#comment-13625413
]
Jonathan Ellis commented on CASSANDRA-5430:
-------------------------------------------
{code}
public synchronized void initServer() throws ConfigurationException
{
initServer(RING_DELAY);
}
public synchronized void initServer(int delay) throws ConfigurationException
{
...
{code}
Normal startup calls initServer(). Test code calls initServer(0).
> Make Auth.SUPERUSER_SETUP_DELAY configurable
> --------------------------------------------
>
> Key: CASSANDRA-5430
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5430
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.2.2
> Reporter: John Sanda
> Assignee: Aleksey Yeschenko
> Priority: Minor
> Labels: authentication
> Fix For: 1.2.4
>
> Attachments: 5430.txt
>
>
> I would like to make SUPERUSER_SETUP_DELAY configurable for automated tests.
> I have tests that stand up a local cluster, and sometimes if I just run a
> single test class, the total execution time to stand up the (usually two)
> nodes and run the tests takes less than 20 seconds. I am running on fast
> hardware, so I can probably get by with a lower value in most cases, but
> maybe one of my teammates runs on slower hardware and needs a larger value.
> I do not see this as a problem for production use. It would just be nice to
> have it configurable for dev environments.
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira