You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2021/10/22 20:06:13 UTC

[GitHub] [geode] kirklund commented on a change in pull request #6960: GEODE-9562: add system property for redis region name

kirklund commented on a change in pull request #6960:
URL: https://github.com/apache/geode/pull/6960#discussion_r734813976



##########
File path: geode-for-redis/src/integrationTest/java/org/apache/geode/redis/internal/executor/connection/AuthIntegrationTest.java
##########
@@ -99,6 +105,14 @@ private void setupCache(String username, boolean withSecurityManager) throws Exc
     }
   }
 
+  private void setupCacheWithRegionName(String username, String regionName,
+      boolean withSecurityManager) throws Exception {
+    System.setProperty("io.netty.eventLoopThreads", "1");
+    System.setProperty(REDIS_REGION_NAME_PROPERTY, regionName);

Review comment:
       For an integration test, you can add the `RestoreSystemProperties` JUnit rule to handle this.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org