Skip to content

Commit

Permalink
GEODE-6405: Restore enableClockStats to false in CachePerfStatsTest
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklund committed Feb 14, 2019
1 parent 5fd16a3 commit 908688c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 908688c

Please sign in to comment.