From 908688c32813b76db969f5bf2aec8d23ed6744fe Mon Sep 17 00:00:00 2001 From: Kirk Lund Date: Wed, 13 Feb 2019 16:59:36 -0800 Subject: [PATCH] GEODE-6405: Restore enableClockStats to false in CachePerfStatsTest --- .../org/apache/geode/internal/cache/CachePerfStatsTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/CachePerfStatsTest.java b/geode-core/src/test/java/org/apache/geode/internal/cache/CachePerfStatsTest.java index 11f6677d59e9..290b4db0befc 100644 --- a/geode-core/src/test/java/org/apache/geode/internal/cache/CachePerfStatsTest.java +++ b/geode-core/src/test/java/org/apache/geode/internal/cache/CachePerfStatsTest.java @@ -56,6 +56,7 @@ import static org.mockito.Mockito.spy; import static org.mockito.Mockito.when; +import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -96,6 +97,11 @@ public void setUp() { cachePerfStats = new CachePerfStats(statisticsFactory, TEXT_ID, clock); } + @After + public void tearDown() { + CachePerfStats.enableClockStats = false; + } + @Test public void getPutsDelegatesToStatistics() { statistics.incLong(putsId, Integer.MAX_VALUE);