Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Willemt Raft
Commits
d9d35596
Commit
d9d35596
authored
May 17, 2018
by
Willem Thiart
Browse files
Fix test failure caused by #54
parent
2f5cba92
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_server.c
View file @
d9d35596
...
...
@@ -3070,10 +3070,6 @@ void TestRaft_leader_recv_appendentries_response_do_not_increase_commit_idx_beca
raft_recv_appendentries_response
(
r
,
raft_get_node
(
r
,
3
),
&
aer
);
CuAssertIntEquals
(
tc
,
3
,
raft_get_commit_idx
(
r
));
raft_periodic
(
r
,
1
);
CuAssertIntEquals
(
tc
,
1
,
raft_get_last_applied_idx
(
r
));
raft_periodic
(
r
,
1
);
CuAssertIntEquals
(
tc
,
2
,
raft_get_last_applied_idx
(
r
));
raft_periodic
(
r
,
1
);
CuAssertIntEquals
(
tc
,
3
,
raft_get_last_applied_idx
(
r
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment