Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-17397

cleanup cqlshlib unit test failures and warnings

    XMLWordPrintableJSON

Details

    Description

      The cqlshlib unit tests have some regular failures and warnings.

      1. test_copyutil.py fails with too many open files when ulimit is 256
      2. cassconnect.py:39: DeprecationWarning: Legacy execution parameters
      3. sslhandling.py:42: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser 
      4. 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.

      Attachments

        Issue Links

          Activity

            People

              bschoeni Brad Schoening
              bschoeni Brad Schoening
              Brad Schoening
              Brandon Williams, Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: