[RocksJava] Integrated changes for D34857

main
fyrz 10 years ago
parent 12350115da
commit c345d1ee88
  1. 2
      java/src/test/java/org/rocksdb/ColumnFamilyOptionsTest.java
  2. 2
      java/src/test/java/org/rocksdb/OptionsTest.java

@ -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);

@ -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);

Loading…
Cancel
Save