You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Donal Evans (Jira)" <ji...@apache.org> on 2021/06/24 21:33:00 UTC

[jira] [Assigned] (GEODE-9400) Do not use Coder methods in Redis tests

     [ https://issues.apache.org/jira/browse/GEODE-9400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donal Evans reassigned GEODE-9400:
----------------------------------

    Assignee: Donal Evans

> Do not use Coder methods in Redis tests
> ---------------------------------------
>
>                 Key: GEODE-9400
>                 URL: https://issues.apache.org/jira/browse/GEODE-9400
>             Project: Geode
>          Issue Type: Improvement
>          Components: redis
>    Affects Versions: 1.15.0
>            Reporter: Donal Evans
>            Assignee: Donal Evans
>            Priority: Major
>
> 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()}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)