@Test
  public void txFailureChangesWrapsFromMaxIntegerToNegativeValue() {
    statistics.incLong(txFailureChangesId, Long.MAX_VALUE);

    cachePerfStats.txFailure(1, 1, 1);

    assertThat(cachePerfStats.getTxFailureChanges()).isNegative();
  }
Characterization test: {@code txFailureChanges} currently wraps to negative from max integer
value.
geode-core/src/test/java/org/apache/geode/internal/cache/CachePerfStatsTest.java