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

Fix failing upgrade dtest test_basic_paging - upgrade_tests.paging_test.TestPagingDataNodes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • NA
    • CI, Test/dtest/python
    • None

    Description

      test_basic_paging - upgrade_tests.paging_test.TestPagingDataNodes
      upgrade_tests/paging_test.py

      https://app.circleci.com/pipelines/github/dcapwell/cassandra/843/workflows/9545f259-0a61-4ba8-8dea-485a33136032/jobs/4964

              #4.0 doesn't support compact storage
      >       if version_string == 'trunk' or version_string >= MAJOR_VERSION_4:
      
      upgrade_tests/paging_test.py:476: 
      
      self = LooseVersion ('4.0')
      other = LooseVersion ('clone:/home/cassandra/cassandra')
      
          def _cmp (self, other):
              if isinstance(other, str):
                  other = LooseVersion(other)
          
              if self.version == other.version:
                  return 0
      >       if self.version < other.version:
      E       TypeError: '<' not supported between instances of 'int' and 'str'
      

      Attachments

        Issue Links

          Activity

            People

              aholmber Adam Holmberg
              dcapwell David Capwell
              Adam Holmberg
              Benjamin Lerer, David Capwell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: