dschneider-pivotal commented on a change in pull request #6727:
URL: https://github.com/apache/geode/pull/6727#discussion_r686389856



##########
File path: 
geode-apis-compatible-with-redis/src/test/java/org/apache/geode/redis/internal/data/RedisSortedSetTest.java
##########
@@ -656,7 +656,9 @@ public void 
redisSortedSetGetSizeInBytes_isAccurateForZpopmax() {
     for (int i = 0; i < numberOfEntries; ++i) {
       sortedSet.zpopmax(mockRegion, mockKey, 1);
       sortedSet.clearDelta();
-      
assertThat(sizer.sizeof(sortedSet)).isEqualTo(sortedSet.getSizeInBytes());
+      int actualSize = sizer.sizeof(sortedSet) - 
sizer.sizeof(ByteArrays.HASH_STRATEGY);
+      int calculatedSize = sortedSet.getSizeInBytes();
+      assertThat(calculatedSize).isEqualTo(actualSize);

Review comment:
       I changed them to expectedSize and actualSize




-- 
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