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

Sam Lightfoot commented on CASSANDRA-20698:
-------------------------------------------

_Cross-posting from another Jira:_

The assertion seems appropriate and passes on 5.0.

In the code I see this is does not go via stdout but via a logger, causing the 
assertion to fail.
{code:java}
logger.info("ssl storage port is deprecated and not used, all communication 
goes though storage port " +
            "which is able to handle encrypted communication too."); {code}
If I amend the above to 
{code:java}
System.out.println("ssl storage port is deprecated and not used, all 
communication goes though storage port " +
            "which is able to handle encrypted communication too."); {code}
The test passes.  

Has the ToolRunner changed recently in how logs are handled and where they are 
piped?

> 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
>            Priority: Normal
>             Fix For: 6.x
>
>
> {{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