Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-9400

Do not use Coder methods in Redis tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.15.0
    • 1.15.0
    • redis

    Description

      Following a recent refactor, the Coder.stringToBytes() and Coder.bytesToString() methods are used throughout the Radish module. However, in integration and dunit tests, which emulate how a client interacts with a Radish server, it is not appropriate to use this internal class and its methods. Uses of Coder methods in tests other than unit tests should be restored to new String(byte[]) and String.getBytes().

      Attachments

        Activity

          People

            donalevans Donal Evans
            donalevans Donal Evans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: