[ https://issues.apache.org/jira/browse/CASSANDRA-17397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Miklosovic updated CASSANDRA-17397: ------------------------------------------ Reviewers: Brandon Williams, Stefan Miklosovic, Stefan Miklosovic (was: Brandon Williams, Stefan Miklosovic) Brandon Williams, Stefan Miklosovic, Stefan Miklosovic (was: Brandon Williams, Stefan Miklosovic) Status: Review In Progress (was: Patch Available) > cleanup cqlshlib unit test failures and warnings > ------------------------------------------------ > > Key: CASSANDRA-17397 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17397 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter > Reporter: Brad Schoening > Assignee: Brad Schoening > Priority: Normal > Fix For: 4.1 > > > The cqlshlib unit tests have some regular failures and warnings. > # test_copyutil.py fails with too many open files when ulimit is 256 > # cassconnect.py:39: DeprecationWarning: Legacy execution parameters > # sslhandling.py:42: DeprecationWarning: The SafeConfigParser class has been > renamed to ConfigParser > # remove unused reference to nosetests.xml in Jenkinsfile > > The cqlshlib test test_copyutil.py fails on MacOS with > *E OSError: [Errno 24] Too many open files* > This happens because the test does not close the file descriptors after use. > The default ulimit on MacOS is small, 256: > % ulimit -n > 256 > The simple fix is to close the pipe after use. Increasing ulimit nofiles > works also, but shouldn't be necessary. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org