@@ -60,7 +60,7 @@ func TestBuildRemoveEtcdMemberCmd_DistinctInputs(t *testing.T) {
6060// a wrong endpoint or a swapped transferee silently fails the transfer and the
6161// subsequent leader-removal would orphan the member, so pin the exact shape.
6262func TestBuildMoveLeaderArgs (t * testing.T ) {
63- args := buildMoveLeaderArgs ("https://10.0.0.1:2379" , "a8208c4dee07b533 " )
63+ args := buildMoveLeaderArgs ("https://10.0.0.1:2379" , "8e9e05c52164694d " )
6464 joined := strings .Join (args , " " )
6565
6666 mustContain := []string {
@@ -69,7 +69,7 @@ func TestBuildMoveLeaderArgs(t *testing.T) {
6969 "--cert=/etc/kubernetes/pki/etcd/peer.crt" ,
7070 "--key=/etc/kubernetes/pki/etcd/peer.key" ,
7171 "move-leader" ,
72- "a8208c4dee07b533 " ,
72+ "8e9e05c52164694d " ,
7373 }
7474 for _ , sub := range mustContain {
7575 if ! strings .Contains (joined , sub ) {
@@ -79,7 +79,7 @@ func TestBuildMoveLeaderArgs(t *testing.T) {
7979
8080 // The transferee ID must be the last arg (the move-leader target), and the
8181 // subcommand must immediately precede it.
82- if got := args [len (args )- 1 ]; got != "a8208c4dee07b533 " {
82+ if got := args [len (args )- 1 ]; got != "8e9e05c52164694d " {
8383 t .Errorf ("expected transferee ID as the last arg, got %q (full: %s)" , got , joined )
8484 }
8585 if got := args [len (args )- 2 ]; got != "move-leader" {
0 commit comments