You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2009/05/10 03:40:45 UTC

[jira] Created: (CASSANDRA-158) allow running just one test from ant

allow running just one test from ant
------------------------------------

                 Key: CASSANDRA-158
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-158
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Jonathan Ellis


Can someone with ant kung fu help here?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-158) allow running just one test from ant

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708852#action_12708852 ] 

Hudson commented on CASSANDRA-158:
----------------------------------

Integrated in Cassandra #73 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/73/])
    

> allow running just one test from ant
> ------------------------------------
>
>                 Key: CASSANDRA-158
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-158
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Michael Greene
>         Attachments: CASSANDRA-158-001.diff
>
>
> Can someone with ant kung fu help here?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-158) allow running just one test from ant

Posted by "Sandeep Tata (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708254#action_12708254 ] 

Sandeep Tata commented on CASSANDRA-158:
----------------------------------------

Should we continue using testng assertions in new unit tests? Switch over to junit4 assertions?

> allow running just one test from ant
> ------------------------------------
>
>                 Key: CASSANDRA-158
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-158
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Michael Greene
>         Attachments: CASSANDRA-158-001.diff
>
>
> Can someone with ant kung fu help here?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-158) allow running just one test from ant

Posted by "Michael Greene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Greene updated CASSANDRA-158:
-------------------------------------

    Attachment: CASSANDRA-158-001.diff

Well, I don't know about kung fu, as this is only the second time I've had to modify an Ant buildfile, but this patch should enable execution of "ant test" to keep the current behavior and "ant test -Dtest.name=RowTest" or "ant test -Dtest.name=ColumnFamilyStoreTest" to run only those specific tests.

> allow running just one test from ant
> ------------------------------------
>
>                 Key: CASSANDRA-158
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-158
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>         Attachments: CASSANDRA-158-001.diff
>
>
> Can someone with ant kung fu help here?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CASSANDRA-158) allow running just one test from ant

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-158.
--------------------------------------

    Resolution: Fixed
      Assignee: Michael Greene

moving to junit4 so we can fork a jvm per class (the move is done but not yet committed); there the class will be the natural unit anyway.  so this will be fine as-is.

> allow running just one test from ant
> ------------------------------------
>
>                 Key: CASSANDRA-158
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-158
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Michael Greene
>         Attachments: CASSANDRA-158-001.diff
>
>
> Can someone with ant kung fu help here?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-158) allow running just one test from ant

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708072#action_12708072 ] 

Jonathan Ellis commented on CASSANDRA-158:
------------------------------------------

there is so much crap that depends on static variables that parallelizing isn't a good option for us, unfortunately.

> allow running just one test from ant
> ------------------------------------
>
>                 Key: CASSANDRA-158
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-158
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>         Attachments: CASSANDRA-158-001.diff
>
>
> Can someone with ant kung fu help here?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-158) allow running just one test from ant

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708256#action_12708256 ] 

Jonathan Ellis commented on CASSANDRA-158:
------------------------------------------

I've ported everything to junit4 (method names are the same, only the import is different).

Was just waiting on 153 to post the diff.  (I see that Jun is done reviewing that now.)

> allow running just one test from ant
> ------------------------------------
>
>                 Key: CASSANDRA-158
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-158
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Michael Greene
>         Attachments: CASSANDRA-158-001.diff
>
>
> Can someone with ant kung fu help here?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-158) allow running just one test from ant

Posted by "Michael Greene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708069#action_12708069 ] 

Michael Greene commented on CASSANDRA-158:
------------------------------------------

It seems harder, but I'm just doing off of documentation at the moment and not experience.  This doesn't directly pertain to this issue, but setting parallel="tests" or parallel="methods" might help catch tests that depend on implicit setups in the future (and speeds up the tests a little bit on my dual core).

> allow running just one test from ant
> ------------------------------------
>
>                 Key: CASSANDRA-158
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-158
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>         Attachments: CASSANDRA-158-001.diff
>
>
> Can someone with ant kung fu help here?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-158) allow running just one test from ant

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708028#action_12708028 ] 

Jonathan Ellis commented on CASSANDRA-158:
------------------------------------------

awesome!  committed.

what about testing just one method, is that harder?

> allow running just one test from ant
> ------------------------------------
>
>                 Key: CASSANDRA-158
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-158
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>         Attachments: CASSANDRA-158-001.diff
>
>
> Can someone with ant kung fu help here?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.