framework.ExpectNoError(WaitForGroupSize(framework.TestContext.CloudConfig.NodeInstanceGroup,int32(initialGroupSize)),"Unable to get back the cluster to inital size")
return
})
It("should be able to detach from a node whose api object was deleted [Slow] [Disruptive]",func(){
// need to set the resource version or else the Create() fails
_,err:=nodeClient.Create(nodeToDelete)
framework.ExpectNoError(err,"Unable to re-create the deleted node")
framework.ExpectNoError(WaitForGroupSize(framework.TestContext.CloudConfig.NodeInstanceGroup,int32(initialGroupSize)),"Unable to get the node group back to the original size")