Skip to content

Commit

Permalink
Reduce log size of test_node to make Travis CI happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
PFZheng committed Apr 25, 2019
1 parent 821372d commit 20ae73b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ class MockFSM : public braft::StateMachine {
virtual void on_apply(braft::Iterator& iter) {
for (; iter.valid(); iter.next()) {
LOG_IF(TRACE, !g_dont_print_apply_log) << "addr " << address
<< " apply " << iter.index()
<< " data " << iter.data();
<< " apply " << iter.index();
::brpc::ClosureGuard guard(iter.done());
lock();
logs.push_back(iter.data());
Expand Down

0 comments on commit 20ae73b

Please sign in to comment.