[RocksJava] Integrated changes for D34857

This commit is contained in:
fyrz 2015-03-18 21:37:46 +01:00
parent 12350115da
commit c345d1ee88
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ public class ColumnFamilyOptionsTest {
ColumnFamilyOptions opt = null; ColumnFamilyOptions opt = null;
try { try {
opt = new ColumnFamilyOptions(); opt = new ColumnFamilyOptions();
boolean boolValue = rand.nextBoolean(); final boolean boolValue = rand.nextBoolean();
opt.setLevelCompactionDynamicLevelBytes(boolValue); opt.setLevelCompactionDynamicLevelBytes(boolValue);
assertThat(opt.levelCompactionDynamicLevelBytes()) assertThat(opt.levelCompactionDynamicLevelBytes())
.isEqualTo(boolValue); .isEqualTo(boolValue);

View File

@ -205,7 +205,7 @@ public class OptionsTest {
Options opt = null; Options opt = null;
try { try {
opt = new Options(); opt = new Options();
boolean boolValue = rand.nextBoolean(); final boolean boolValue = rand.nextBoolean();
opt.setLevelCompactionDynamicLevelBytes(boolValue); opt.setLevelCompactionDynamicLevelBytes(boolValue);
assertThat(opt.levelCompactionDynamicLevelBytes()) assertThat(opt.levelCompactionDynamicLevelBytes())
.isEqualTo(boolValue); .isEqualTo(boolValue);