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

Berenguer Blasi edited comment on CASSANDRA-19050 at 11/30/23 10:19 AM:
------------------------------------------------------------------------

I took that into account. But you still need to change table names if you 
compare logs from different envs like local vs circle. Also it's hard on the 
eyes when table_01 and table_10 are totally different things etc Even table_09 
and table_09 can be totally different things if you have several tabs open and 
click on the wrong one and start comparing 2 completely different test classes 
logs by mistake. Don't ask me how I know...


was (Author: bereng):
I took that into account. But you still need to change table names if you 
compare logs from different envs like local vs circle. Also it's hard on the 
eyes when table_01 and table_10 are totally different things etc

> Enhanced usage of test method names in CQLTester for better test debugging
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-19050
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19050
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/unit
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 5.0-rc, 5.x
>
>
> All views, tables, ks,... created in CQLTester are of the form {{table_00}}:
> - While debugging tests and flakies this makes it really hard to match logs 
> to test methods.
> - Some async operations can spill log lines from a previous test method into 
> the next's log lines which is incredibly confusing
> - It's hard on the eyes and easy to mix up
> - When comparing logs from 2 different branches, envs,... it's really hard to 
> match logs
> The proposed solution is for {{CQLTester}} to decorate these with the test 
> name.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to