private long getRandomCost() {
    long cost = ThreadLocalRandom.current().nextLong(Integer.MAX_VALUE);
    if (cost < Integer.MAX_VALUE) {
      cost += Integer.MAX_VALUE;
    }
    return cost;
  }
Generate random cost greater than {@link Integer#MAX_VALUE}
@return randomly generated cost
ambry-store/src/test/java/com/github/ambry/store/CostBenefitInfoTest.java