public static long addOnePercentJitter(final long value) {
    if (value == 0 || value < 100) {
      return value;
    }
    return value + ThreadLocalRandom.current().nextInt((int) Math.abs(value) / 100);
  }
@Test
  public void testAddOnePercentJitter() throws IOException {
    // Given
    long[] baseArray = {-2232, -1, 0, 99, 100, 101, 1000, 10000, 38742};

    // When/Then
    for (long base : baseArray) {
      long val = Jitter.addOnePercentJitter(base);
      assertTrue(base <= val);
      assertTrue(val <= base + Math.abs(base) / 100);
    }
  }