expect node to be recreated with the same name

This commit is contained in:
Michelle Au 2019-12-05 13:32:17 -08:00
parent 864596f680
commit a8ba361fd6

View File

@ -405,7 +405,7 @@ var _ = utils.SIGDescribe("Pod Disks", func() {
framework.ExpectEqual(numNodes, origNodeCnt, fmt.Sprintf("Requires current node count (%d) to return to original node count (%d)", numNodes, origNodeCnt))
output, err = gceCloud.ListInstanceNames(framework.TestContext.CloudConfig.ProjectID, framework.TestContext.CloudConfig.Zone)
framework.ExpectNoError(err, fmt.Sprintf("Unable to get list of node instances err=%v output=%s", err, output))
framework.ExpectEqual(false, strings.Contains(string(output), string(host0Name)))
framework.ExpectEqual(true, strings.Contains(string(output), string(host0Name)))
} else if disruptOp == deleteNodeObj {
ginkgo.By("deleting host0's node api object")