ringles commented on a change in pull request #7403:
URL: https://github.com/apache/geode/pull/7403#discussion_r832433810
##########
File path:
geode-for-redis/src/distributedTest/java/org/apache/geode/redis/internal/commands/executor/list/LPushDUnitTest.java
##########
@@ -114,7 +115,8 @@ public void
givenBucketsMovedDuringLPush_elementsAreAddedAtomically()
for (String key : keys) {
long length = jedis.llen(key);
- assertThat(length).isGreaterThanOrEqualTo(MINIMUM_ITERATIONS * 2 *
PUSH_LIST_SIZE);
+ assertThat(length).isCloseTo(ITERATION_COUNT * 2 * PUSH_LIST_SIZE,
within(6L));
+ assertThat(length % 3).isEqualTo(0);
Review comment:
I have seen failures, but that was an earlier version. Ran a bunch of
these without failures, so I'm making it exact.
--
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]