Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
Signed-off-by: sanjain <[email protected]>
  • Loading branch information
sanjain-px committed Sep 10, 2024
1 parent 534111b commit b57324f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cluster/manager/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func TestRemoveOnlineNode(t *testing.T) {
err = testManager.Remove([]api.Node{nodeToRemove}, false)
assert.ErrorContains(t, err, fmt.Sprintf(decommissionErrMsg, testNodeID))

// when force flag is true, we shouldn't abort due to node status
mockListener.EXPECT().String().Return(testNodeID)
mockListener.EXPECT().MarkNodeDown(gomock.Any()).Return(mockErr)

Expand Down

0 comments on commit b57324f

Please sign in to comment.