diff --git a/test/ra_SUITE.erl b/test/ra_SUITE.erl index b3a71584..d6704050 100644 --- a/test/ra_SUITE.erl +++ b/test/ra_SUITE.erl @@ -551,17 +551,24 @@ members_info(Config) -> {ok, _, _} = ra:add_member(Leader, CSpec), {ok, 9, Leader} = ra:consistent_query(C, fun(S) -> S end), ?assertMatch({ok, - #{Follower := #{status := normal, query_index := QI, - next_index := NI, match_index := MI, + #{Follower := #{status := normal, + query_index := QI, + next_index := NI, + match_index := MI, commit_index_sent := MI, voter_status := #{membership := voter}}, - Leader := #{status := normal, query_index := QI, - next_index := NI, match_index := MI, + Leader := #{status := normal, + query_index := QI, + next_index := NI, + match_index := MI, voter_status := #{membership := voter}}, - C := #{status := normal, query_index := QI, - next_index := NI, match_index := 0, + C := #{status := normal, + query_index := _, + next_index := NI, + match_index := 0, commit_index_sent := MI, - voter_status := #{membership := promotable, target := MI}}}, + voter_status := #{membership := promotable, + target := MI}}}, Leader}, ra:members_info(Follower)), ?assertMatch({ok, #{A := #{},