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

David Capwell commented on CASSANDRA-20698:
-------------------------------------------

[~mmuzaf] [~maedhroz] mind looking at 
https://github.com/apache/cassandra/pull/4339

I didn't look into why this works in 5.0 but not on trunk, but what I saw was 
the following

1) loggers capture System.out and System.err before the test runs
2) the test overrides System.out and System.err but this only impacts new calls 
to it, so the loggers don't see these changes

My change: added a new flag to opt-in to capture loggers.  This adds a logback 
appender and pipes the message to new stdout for consistent capture.

> SSTableLoaderEncryptionOptionsTest#bulkLoaderSuccessfullyStreamsOverSslWithDeprecatedSslStoragePort
>  failing on missing stdout content
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-20698
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20698
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/python, Tool/bulk load
>            Reporter: Caleb Rackliffe
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 6.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{bulkLoaderSuccessfullyStreamsOverSslWithDeprecatedSslStoragePort()}} is 
> expecting to see some content in the stdout, but it's apparently missing:
> {noformat}
> assertTrue(tool.getStdout().contains("ssl storage port is deprecated and not 
> used"));
> {noformat}



--
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