Skip to content

Commit

Permalink
fixed broken test after refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
elankath committed Jan 16, 2025
1 parent b2e1c3c commit c515f39
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func TestDeleteNodes(t *testing.T) {
prio1Machines: nil,
mdName: "machinedeployment-1",
mdReplicas: 2,
err: fmt.Errorf("NodeGroupImpl machinedeployment-1 is under rolling update , cannot reduce replica count"),
err: fmt.Errorf("MachineDeployment machinedeployment-1 is under rolling update , cannot reduce replica count"),
},
},
{
Expand Down Expand Up @@ -645,7 +645,7 @@ func TestGetOptions(t *testing.T) {
nodeGroups: []string{nodeGroup1},
},
expect{
err: fmt.Errorf("unable to fetch NodeGroupImpl object machinedeployment-1, Error: machinedeployment.machine.sapcloud.io \"machinedeployment-1\" not found"),
err: fmt.Errorf("unable to fetch MachineDeployment object machinedeployment-1, Error: machinedeployment.machine.sapcloud.io \"machinedeployment-1\" not found"),
},
},
{
Expand Down

0 comments on commit c515f39

Please sign in to comment.