Skip to content

Commit

Permalink
fix: assert on the right node
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Sep 25, 2024
1 parent 17e83cc commit 72ee43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/etcd/etcd_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func TestRunClusterMultipleNodes(t *testing.T) {
require.Len(t, ctr.childNodes, 2)

for i, node := range ctr.childNodes {
require.Empty(t, ctr.childNodes) // child nodes has no children
require.Empty(t, node.childNodes) // child nodes has no children

c, r, err := node.Exec(ctx, []string{"etcdctl", "member", "list"}, tcexec.Multiplexed())
require.NoError(t, err)
Expand Down

0 comments on commit 72ee43b

Please sign in to comment.