You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2021/05/14 14:04:49 UTC

[geode] branch develop updated: GEODE-9220: Fix failing test on Windows Server 2016 (#6479)

This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 5487b34  GEODE-9220: Fix failing test on Windows Server 2016 (#6479)
5487b34 is described below

commit 5487b34f67534eddaa5c19bacb90b50c30e6290f
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Fri May 14 07:03:39 2021 -0700

    GEODE-9220: Fix failing test on Windows Server 2016 (#6479)
---
 .../geode/redis/internal/executor/key/AbstractKeysIntegrationTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/geode-apis-compatible-with-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/key/AbstractKeysIntegrationTest.java b/geode-apis-compatible-with-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/key/AbstractKeysIntegrationTest.java
index 8e6e6fd..2887ffe 100644
--- a/geode-apis-compatible-with-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/key/AbstractKeysIntegrationTest.java
+++ b/geode-apis-compatible-with-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/key/AbstractKeysIntegrationTest.java
@@ -105,7 +105,8 @@ public abstract class AbstractKeysIntegrationTest implements RedisIntegrationTes
     byte[] combined = buff.array();
 
     jedis.set(combined, combined);
-    assertThat(jedis.keys("{子}*".getBytes())).containsExactlyInAnyOrder(combined);
+    assertThat(jedis.keys("{子}*".getBytes(StandardCharsets.UTF_8)))
+        .containsExactlyInAnyOrder(combined);
   }
 
   @Test