mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
expect node to be recreated with the same name
This commit is contained in:
parent
864596f680
commit
a8ba361fd6
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user