You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ri...@apache.org on 2022/02/11 22:13:45 UTC

[geode] branch WIP-GEODE-9892 updated: update previousElement in case of skips

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

ringles pushed a commit to branch WIP-GEODE-9892
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/WIP-GEODE-9892 by this push:
     new b4852a3  update previousElement in case of skips
b4852a3 is described below

commit b4852a3a131cfec13af11c32a08fe0a4d77a00fe
Author: Ray Ingles <ri...@vmware.com>
AuthorDate: Fri Feb 11 17:12:14 2022 -0500

    update previousElement in case of skips
---
 .../geode/redis/internal/commands/executor/list/LPopDUnitTest.java       | 1 +
 1 file changed, 1 insertion(+)

diff --git a/geode-for-redis/src/distributedTest/java/org/apache/geode/redis/internal/commands/executor/list/LPopDUnitTest.java b/geode-for-redis/src/distributedTest/java/org/apache/geode/redis/internal/commands/executor/list/LPopDUnitTest.java
index 388e415..46cfa2c 100644
--- a/geode-for-redis/src/distributedTest/java/org/apache/geode/redis/internal/commands/executor/list/LPopDUnitTest.java
+++ b/geode-for-redis/src/distributedTest/java/org/apache/geode/redis/internal/commands/executor/list/LPopDUnitTest.java
@@ -186,6 +186,7 @@ public class LPopDUnitTest {
                   + " ec: " + elementCount + " ic: " + iterationCount + " prev: "
                   + previousElement);
             } else {
+              previousElement = element;
               continue;
             }
           }