You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2017/10/11 23:42:22 UTC

[geode] branch develop updated: GEODE-3805: Use correct timestamplto check last modified time

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

klund pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 475d5d5  GEODE-3805: Use correct timestamplto check last modified time
475d5d5 is described below

commit 475d5d5f420acbbf360699b75e023c41f77a267b
Author: Nick Reich <nr...@pivotal.io>
AuthorDate: Tue Oct 10 10:40:16 2017 -0700

    GEODE-3805: Use correct timestamplto check last modified time
---
 .../test/java/org/apache/geode/cache30/CacheStatisticsDUnitTest.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/geode-core/src/test/java/org/apache/geode/cache30/CacheStatisticsDUnitTest.java b/geode-core/src/test/java/org/apache/geode/cache30/CacheStatisticsDUnitTest.java
index c1639a9..eb8fec3 100644
--- a/geode-core/src/test/java/org/apache/geode/cache30/CacheStatisticsDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/cache30/CacheStatisticsDUnitTest.java
@@ -425,6 +425,7 @@ public class CacheStatisticsDUnitTest extends JUnit4CacheTestCase {
         assertEquals(0, hc);
         assertEquals(0, mc);
         lastAccessed = stats.getLastAccessedTime();
+        lastModified = stats.getLastModifiedTime();
       }
     });
 
@@ -439,7 +440,7 @@ public class CacheStatisticsDUnitTest extends JUnit4CacheTestCase {
         Region region = getRootRegion().getSubregion(name);
         CacheStatistics stats = region.getEntry(key).getStatistics();
         assertEquals(lastAccessed, stats.getLastAccessedTime());
-        assertEquals(lastAccessed, stats.getLastModifiedTime());
+        assertEquals(lastModified, stats.getLastModifiedTime());
         assertEquals(0, stats.getHitCount());
         assertEquals(0, stats.getMissCount());
       }

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].