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/04/05 13:30:52 UTC

[geode] branch develop updated: GEODE-9119: Move file missed during module renaming (#6258)

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 9570f4e  GEODE-9119: Move file missed during module renaming (#6258)
9570f4e is described below

commit 9570f4ec2663646ea51a48d217ae9db1f423c865
Author: Jens Deppe <jd...@vmware.com>
AuthorDate: Mon Apr 5 06:29:21 2021 -0700

    GEODE-9119: Move file missed during module renaming (#6258)
---
 .../common/UnsupportedCommandsIntegrationTest.java         | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/geode-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/common/UnsupportedCommandsIntegrationTest.java b/geode-apis-compatible-with-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/common/UnsupportedCommandsIntegrationTest.java
similarity index 92%
rename from geode-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/common/UnsupportedCommandsIntegrationTest.java
rename to geode-apis-compatible-with-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/common/UnsupportedCommandsIntegrationTest.java
index cefa6c0..afe58c4 100644
--- a/geode-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/common/UnsupportedCommandsIntegrationTest.java
+++ b/geode-apis-compatible-with-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/common/UnsupportedCommandsIntegrationTest.java
@@ -30,13 +30,10 @@ import redis.clients.jedis.util.SafeEncoder;
 
 import org.apache.geode.redis.GeodeRedisServerRule;
 import org.apache.geode.test.awaitility.GeodeAwaitility;
-import org.apache.geode.test.dunit.rules.RedisPortSupplier;
 
+public class UnsupportedCommandsIntegrationTest {
 
-public class UnsupportedCommandsIntegrationTest
-    implements RedisPortSupplier {
-
-  protected static Jedis jedis;
+  private static Jedis jedis;
 
   private static final int REDIS_CLIENT_TIMEOUT =
       Math.toIntExact(GeodeAwaitility.getTimeout().toMillis());
@@ -44,14 +41,9 @@ public class UnsupportedCommandsIntegrationTest
   @ClassRule
   public static GeodeRedisServerRule server = new GeodeRedisServerRule();
 
-  @Override
-  public int getPort() {
-    return server.getPort();
-  }
-
   @Before
   public void setUp() {
-    jedis = new Jedis("localhost", getPort(), REDIS_CLIENT_TIMEOUT);
+    jedis = new Jedis("localhost", server.getPort(), REDIS_CLIENT_TIMEOUT);
   }
 
   @Test