[ https://issues.apache.org/jira/browse/CASSANDRA-15532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcus Eriksson updated CASSANDRA-15532: ---------------------------------------- Fix Version/s: 4.0-alpha Source Control Link: https://github.com/apache/cassandra-dtest/commit/9b93594ae66b04d64f08d1e5ef979e0520f5b3a6 Resolution: Fixed Status: Resolved (was: Ready to Commit) +1, committed > python dtest function assert_stderr_clean should exclude JAVA_TOOL_OPTIONS > -------------------------------------------------------------------------- > > Key: CASSANDRA-15532 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15532 > Project: Cassandra > Issue Type: Improvement > Components: Test/dtest > Reporter: David Capwell > Assignee: David Capwell > Priority: Normal > Fix For: 4.0-alpha > > > JAVA_TOOL_OPTIONS is a JVM override to allow setting JVM flags without > modifying all code which creates the JVM, but for security reasons (see > [https://bugs.openjdk.java.net/browse/JDK-8039152]) it needs to log to > stderr. Python dtest uses the function assert_stderr_clean to check to see if > stderr had any unexpected errors, and should whitelist JAVA_TOOL_OPTIONS so > it doesn’t cause test failures. > PR: https://github.com/apache/cassandra-dtest/pull/56 > Testing done > {code} > export JAVA_TOOL_OPTIONS='-ea' > pytest \ > --log-level="DEBUG" \ > --log-cli-level="DEBUG" \ > --junit-xml=pytest_result.xml \ > --cassandra-dir="/cassandra" \ > --keep-test-dir \ > bootstrap_test::TestBootstrap::test_local_quorum_bootstrap > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org