Skip to content

Commit

Permalink
fixup unit test assertion (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
neoaggelos authored Apr 24, 2024
1 parent 768f454 commit 916aea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/k8s/pkg/client/dqlite/remove_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func TestRemoveNodeByAddress(t *testing.T) {
members, err = client.ListMembers(ctx)
g.Expect(err).To(BeNil())
g.Expect(members).To(HaveLen(1))
g.Expect(members[0].Role == dqlite.Voter)
g.Expect(members[0].Role).To(Equal(dqlite.Voter))
g.Expect(members[0].Address).ToNot(Equal(memberToRemove.Address))

g.Expect(client.RemoveNodeByAddress(ctx, remainingNode.Address)).ToNot(Succeed())
Expand Down

0 comments on commit 916aea8

Please sign in to comment.