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

dtest - lingering Python 3 bytes/string decoding problems

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • None
    • Test/dtest/python
    • None

    Description

      We have a few dtests failing because we're trying to decode a string object returned from ccm Node functions.

      repair_tests/repair_test.py::TestRepair::test_no_anticompaction_of_already_repaired fails at line 283 because we try to decode data from ccm node.nodetool().

      sstablesplit_test.py::TestSSTableSplit::test_single_file_split fails at line 106 because because we try to decode data from ccm node.run_sstablesplit().

      In both cases, ccm is returning strings instead of bytes now, so we shouldn't decode them anymore.

      Attachments

        1. 14334-master.txt
          3 kB
          Patrick Bannister

        Issue Links

          Activity

            People

              ptbannister Patrick Bannister
              ptbannister Patrick Bannister
              Patrick Bannister
              Marcus Eriksson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: