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

Fix failing upgrade dtest test_basic_paging - upgrade_tests.paging_test.TestPagingDataNodes

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aholmber Adam Holmberg Assign to me
            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:

              Slack

                Issue deployment