From fc244b66c9b6e394808995e545b26df67200b4b1 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Thu, 26 Mar 2020 00:30:55 +0800 Subject: [PATCH] fix bench Signed-off-by: Jay Lee --- benches/suites/raw_node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/suites/raw_node.rs b/benches/suites/raw_node.rs index 83e69225a..ca104cc38 100644 --- a/benches/suites/raw_node.rs +++ b/benches/suites/raw_node.rs @@ -110,7 +110,7 @@ fn test_ready_raft_node(logger: &slog::Logger) -> RawNode { let mut e = Entry::default(); e.data = vec![0; 32 * 1024]; e.context = vec![]; - e.index = i + 1; + e.index = i; e.term = 1; entries.push(e); }