Skip to content

Commit

Permalink
wrong feature get into cargo test
Browse files Browse the repository at this point in the history
  • Loading branch information
ailisp committed Aug 12, 2020
1 parent fbf9c5c commit 8b46df6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/store/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,8 @@ mod tests {
fn rocksdb_merge_sanity() {
#[cfg(feature = "no_cache")]
panic!("wrong feature2");
// #[cfg(feature = "single_thread_rocksdb")]
// panic!("wrong feature");
let tmp_dir = tempfile::Builder::new().prefix("_test_snapshot_sanity").tempdir().unwrap();
let store = create_store(tmp_dir.path().to_str().unwrap());
assert_eq!(store.get(ColState, &[1]).unwrap(), None);
Expand Down

0 comments on commit 8b46df6

Please sign in to comment.