Skip to content

Commit

Permalink
Fix addMemberAsLearnerAndPromote to avoid error 'etcdserver: can only…
Browse files Browse the repository at this point in the history
… promote a learner member'

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
  • Loading branch information
ahrtr committed Jan 26, 2025
1 parent 532c601 commit c578649
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/e2e/runtime_reconfiguration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ func addMemberAsLearnerAndPromote(ctx context.Context, t *testing.T, epc *e2e.Et

id, err := epc.StartNewProc(ctx, nil, t, true /* addAsLearner */)
require.NoError(t, err)
_, err = epc.Etcdctl(e2e.WithEndpoints(endpoints)).MemberPromote(ctx, id)

attempt := 0
for attempt < 3 {
Expand Down

0 comments on commit c578649

Please sign in to comment.