albertogpz commented on a change in pull request #6833:
URL: https://github.com/apache/geode/pull/6833#discussion_r708391178



##########
File path: 
geode-wan/src/distributedTest/java/org/apache/geode/internal/cache/wan/WANTestBase.java
##########
@@ -2340,31 +2387,40 @@ public static void doPutsSameKey(String regionName, int 
numPuts, String key) {
 
 
   public static void doPutsAfter300(String regionName, int numPuts) {
-    Region r = cache.getRegion(SEPARATOR + regionName);
+    Region<Object, Object> r = cache.getRegion(SEPARATOR + regionName);
     assertNotNull(r);
     for (long i = 300; i < numPuts; i++) {
       r.put(i, "Value_" + i);
     }
   }
 
   public static void doPutsFrom(String regionName, int from, int numPuts) {
-    Region r = cache.getRegion(SEPARATOR + regionName);
+    Region<Object, Object> r = cache.getRegion(SEPARATOR + regionName);
+    assertNotNull(r);
+    for (long i = from; i < numPuts; i++) {
+      r.put(i, "Value_" + i);
+    }
+  }
+
+  public static void doClientPutsFrom(String regionName, int from, int 
numPuts) {
+    Region<Object, Object> r =
+        ClientCacheFactory.getAnyInstance().getRegion(SEPARATOR + regionName);

Review comment:
       I have finally removed the method because it was not needed.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to