jdeppe-pivotal commented on a change in pull request #7168:
URL: https://github.com/apache/geode/pull/7168#discussion_r763499954
##########
File path:
geode-for-redis/src/integrationTest/java/org/apache/geode/redis/internal/commands/executor/server/AbstractRedisMemoryStatsIntegrationTest.java
##########
@@ -70,24 +67,13 @@ public void
memoryFragmentationRatio_shouldBeGreaterThanZero() {
@Test
public void usedMemory_shouldIncrease_givenAdditionalValuesAdded() {
- Map<String, String> addedData = makeHashMap(100_000, "field", "value");
-
long initialUsedMemory =
Long.parseLong(RedisTestHelper.getInfo(jedis).get(USED_MEMORY));
-
- jedis.hset(EXISTING_HASH_KEY, addedData);
+ for (int i = 0; i < 500_000; i++) {
Review comment:
I'm now checking every 50,000 entries up to a max of 1mil. Bailing out
as soon as the condition is met.
--
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]