@Test(groups = "unit", expectedExceptions = IllegalArgumentException.class) public void should_throw_exception_if_tombstone_threshold_out_of_range() throws Exception { sizedTieredStategy().bucketLow(0.5).bucketHigh(1.2).tombstoneThreshold(1.89).build(); }
@Test(groups = "unit", expectedExceptions = IllegalArgumentException.class) public void should_throw_exception_if_tombstone_threshold_negative() throws Exception { sizedTieredStategy().bucketLow(0.5).bucketHigh(1.2).coldReadsRatioToOmit(-1.0).build(); } }
@Test(groups = "unit", expectedExceptions = IllegalArgumentException.class) public void should_throw_exception_if_cold_read_ratio_negative() throws Exception { sizedTieredStategy().bucketLow(0.5).bucketHigh(1.2).coldReadsRatioToOmit(-1.0).build(); }
.tombstoneThreshold(0.7) .uncheckedTombstoneCompaction(true) .build();
@Test(groups = "unit", expectedExceptions = IllegalArgumentException.class) public void should_throw_exception_if_tombstone_threshold_out_of_range() throws Exception { sizedTieredStategy().bucketLow(0.5).bucketHigh(1.2).tombstoneThreshold(1.89).build(); }
@Test(groups = "unit", expectedExceptions = IllegalArgumentException.class) public void should_throw_exception_if_tombstone_threshold_negative() throws Exception { sizedTieredStategy().bucketLow(0.5).bucketHigh(1.2).coldReadsRatioToOmit(-1.0).build(); } }
@Test(groups = "unit", expectedExceptions = IllegalArgumentException.class) public void should_throw_exception_if_cold_read_ratio_out_of_range() throws Exception { sizedTieredStategy().bucketLow(0.5).bucketHigh(1.2).coldReadsRatioToOmit(1.89).build(); }
@Test(groups = "unit", expectedExceptions = IllegalArgumentException.class) public void should_throw_exception_if_cold_read_ratio_negative() throws Exception { sizedTieredStategy().bucketLow(0.5).bucketHigh(1.2).coldReadsRatioToOmit(-1.0).build(); }
.tombstoneThreshold(0.7) .uncheckedTombstoneCompaction(true) .build();
@Test(groups = "unit", expectedExceptions = IllegalArgumentException.class) public void should_throw_exception_if_cold_read_ratio_out_of_range() throws Exception { sizedTieredStategy().bucketLow(0.5).bucketHigh(1.2).coldReadsRatioToOmit(1.89).build(); }