Skip to content

Commit

Permalink
*: remove make bench target (tikv#4697)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx authored May 23, 2019
1 parent e97dd8a commit fa292bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ test:
fi
bash scripts/check-bins-for-jemalloc.sh

bench:
LOG_LEVEL=ERROR RUST_BACKTRACE=1 cargo bench --all --no-default-features --features "${ENABLE_FEATURES}" -- --nocapture

unset-override:
@# unset first in case of any previous overrides
@if rustup override list | grep `pwd` > /dev/null; then rustup override unset; fi
Expand Down
4 changes: 3 additions & 1 deletion src/raftstore/store/fsm/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ use crate::raftstore::store::fsm::metrics::*;
use crate::raftstore::store::fsm::peer::{
maybe_destroy_source, new_admin_request, PeerFsm, PeerFsmDelegate,
};
#[cfg(not(feature = "no-fail"))]
use crate::raftstore::store::fsm::ApplyTaskRes;
use crate::raftstore::store::fsm::{
batch, create_apply_batch_system, ApplyBatchSystem, ApplyPollerBuilder, ApplyRouter, ApplyTask,
ApplyTaskRes, BasicMailbox, BatchRouter, BatchSystem, HandlerBuilder,
BasicMailbox, BatchRouter, BatchSystem, HandlerBuilder,
};
use crate::raftstore::store::fsm::{ApplyNotifier, Fsm, PollHandler, RegionProposal};
use crate::raftstore::store::keys::{self, data_end_key, data_key, enc_end_key, enc_start_key};
Expand Down
2 changes: 2 additions & 0 deletions tests/failpoints/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@

#[macro_use]
extern crate lazy_static;
#[cfg(not(feature = "no-fail"))]
#[macro_use(slog_kv, slog_debug, slog_log, slog_record, slog_b, slog_record_static)]
extern crate slog;
#[cfg(not(feature = "no-fail"))]
#[macro_use]
extern crate slog_global;

Expand Down

0 comments on commit fa292bc

Please sign in to comment.