Merge pull request #264 from iSynaptic/gh-154

Confirm calling Options.increase_parallelism works on all platforms...
master
Jordan Terrell 5 years ago committed by GitHub
commit f9bbb13a1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      tests/test_rocksdb_options.rs

@ -28,3 +28,14 @@ fn test_set_num_levels() {
let _db = DB::open(&opts, &n).unwrap();
}
}
#[test]
fn test_increase_parallelism() {
let n = DBPath::new("_rust_rocksdb_test_increase_parallelism");
{
let mut opts = Options::default();
opts.create_if_missing(true);
opts.increase_parallelism(4);
let _db = DB::open(&opts, &n).unwrap();
}
}

Loading…
Cancel
Save