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

Fix upgrade python dtest test_crc_check_chance_upgrade - upgrade_crc_check_chance_test.TestCrcCheckChanceUpgrade

    XMLWordPrintableJSON

Details

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

    Description

      https://app.circleci.com/pipelines/github/dcapwell/cassandra/846/workflows/bee81d86-f720-4fc2-b3e7-7ed19ec3c9f0/jobs/4988/tests

      test_crc_check_chance_upgrade - upgrade_crc_check_chance_test.TestCrcCheckChanceUpgrade

      >       self.verify_old_crc_check_chance(node1)
      
      upgrade_crc_check_chance_test.py:58: 
      
      self = <upgrade_crc_check_chance_test.TestCrcCheckChanceUpgrade object at 0x7f2d1d3b4be0>
      node = <ccmlib.node.Node object at 0x7f2d1d335a90>
      
          def verify_old_crc_check_chance(self, node):
              session = self.patient_exclusive_cql_connection(node)
              session.cluster.refresh_schema_metadata(0)
              meta = session.cluster.metadata.keyspaces['ks'].tables['cf1']
      >       logger.debug(meta.options['compression_parameters'])
      E       NameError: name 'logger' is not defined
      
      upgrade_crc_check_chance_test.py:107: NameError
      

      Attachments

        Issue Links

          Activity

            People

              Gerrrr Alex Sorokoumov
              dcapwell David Capwell
              Alex Sorokoumov
              David Capwell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m