You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:46:01 UTC
[jira] [Closed] (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 ]
Owen Nichols closed GEODE-9400.
-------------------------------
> 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
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> 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.20.7#820007)