You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Shuler (JIRA)" <ji...@apache.org> on 2015/05/23 00:15:17 UTC
[jira] [Comment Edited] (CASSANDRA-9463) ant test-all results
incomplete when parsed
[ https://issues.apache.org/jira/browse/CASSANDRA-9463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556909#comment-14556909 ]
Michael Shuler edited comment on CASSANDRA-9463 at 5/22/15 10:15 PM:
---------------------------------------------------------------------
The {{test-compression}} results appear to overwrite the {{test}} output:
{noformat}
(trunk)mshuler@hana:~/git/cassandra$ ant test -Dtest.name=KeyspaceTest
...
[junit] Testsuite: org.apache.cassandra.db.KeyspaceTest
[junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.403 sec
[junit]
(trunk)mshuler@hana:~/git/cassandra$ ls -l build/test/output/
total 48
-rw-r--r-- 1 mshuler mshuler 46550 May 22 16:58 TEST-org.apache.cassandra.db.KeyspaceTest.xml
=================
(trunk)mshuler@hana:~/git/cassandra$ ant test-compression -Dtest.name=KeyspaceTest
...
[junit] Testsuite: org.apache.cassandra.db.KeyspaceTest
[junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.205 sec
[junit]
(trunk)mshuler@hana:~/git/cassandra$ ls -l build/test/output/
total 48
-rw-r--r-- 1 mshuler mshuler 48562 May 22 16:59 TEST-org.apache.cassandra.db.KeyspaceTest.xml
{noformat}
Aside from needing both test result xml output file sets, ideally, the XML written from {{test-compresssion}} would include within the XML test result block some sort of extra "tag" that it was run with compression, to allow seeing the difference clearly. For example {{test}} outputs {{org.apache.cassandra.db.KeyspaceTest.testGetRowNoColumns}} and {{test-compression}} appends ".compression" so we get a test result for {{org.apache.cassandra.db.KeyspaceTest.testGetRowNoColumns.compression}}.
was (Author: mshuler):
The {{test-compression}} results appear to overwrite the {{test}} output:
{noformat}
(trunk)mshuler@hana:~/git/cassandra$ ant test -Dtest.name=KeyspaceTest
...
[junit] Testsuite: org.apache.cassandra.db.KeyspaceTest
[junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.403 sec
[junit]
(trunk)mshuler@hana:~/git/cassandra$ ls -l build/test/output/
total 48
-rw-r--r-- 1 mshuler mshuler 46550 May 22 16:58 TEST-org.apache.cassandra.db.KeyspaceTest.xml
=================
(trunk)mshuler@hana:~/git/cassandra$ ant test-compression -Dtest.name=KeyspaceTest
...
[junit] Testsuite: org.apache.cassandra.db.KeyspaceTest
[junit] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.205 sec
[junit]
(trunk)mshuler@hana:~/git/cassandra$ ls -l build/test/output/
total 48
-rw-r--r-- 1 mshuler mshuler 48562 May 22 16:59 TEST-org.apache.cassandra.db.KeyspaceTest.xml
{noformat}
Aside from needing both test result xml output sets, ideally, the output from {{test-compresssion}} would get some sort of extra "tag" that it was run with compression, to allow seeing the difference clearly. For example {{test}} outputs {{org.apache.cassandra.db.KeyspaceTest.testGetRowNoColumns}} and {{test-compression}} appends ".compression" so we get a test result for {{org.apache.cassandra.db.KeyspaceTest.testGetRowNoColumns.compression}}.
> ant test-all results incomplete when parsed
> -------------------------------------------
>
> Key: CASSANDRA-9463
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9463
> Project: Cassandra
> Issue Type: Test
> Reporter: Michael Shuler
> Fix For: 3.x, 2.2.x
>
>
> trunk `ant test` - 1,196 total tests
> trunk `ant test-all` - 1,353 total tests
> `ant test-all` runs "test,long-test,test-compression,pig-test,test-clientutil-jar", so we should be getting 1196*2 (test, test-compresssion) + N (long-test) + 24 (pig-test) + N (test-clientutil-jar)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)