Browse Source

fix tests

pull/17582/head
Ashesh Vidyut 1 year ago
parent
commit
7626d0992d
  1. 2
      command/operator/raft/listpeers/operator_raft_list_test.go

2
command/operator/raft/listpeers/operator_raft_list_test.go

@ -55,7 +55,7 @@ func TestOperatorRaftListPeersCommandDetailed(t *testing.T) {
a := agent.NewTestAgent(t, ``)
defer a.Shutdown()
expected := fmt.Sprintf("%s %s 127.0.0.1:%d leader true 3",
expected := fmt.Sprintf("%s %s 127.0.0.1:%d leader true 3 1",
a.Config.NodeName, a.Config.NodeID, a.Config.ServerPort)
// Test the list-peers subcommand directly

Loading…
Cancel
Save