fix tests

pull/17582/head
Ashesh Vidyut 2023-06-06 15:26:50 +05:30
parent 2f94024b35
commit 7626d0992d
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func TestOperatorRaftListPeersCommandDetailed(t *testing.T) {
a := agent.NewTestAgent(t, ``) a := agent.NewTestAgent(t, ``)
defer a.Shutdown() 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) a.Config.NodeName, a.Config.NodeID, a.Config.ServerPort)
// Test the list-peers subcommand directly // Test the list-peers subcommand directly